summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/gpio_backlight.h
blob: 5ae0d9c80d4df17aacd0246e876d83c2337e6ff2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * gpio_backlight.h - Simple GPIO-controlled backlight
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */
#ifndef __GPIO_BACKLIGHT_H__
#define __GPIO_BACKLIGHT_H__

struct device;

struct gpio_backlight_platform_data {
	struct device *fbdev;
	int gpio;
	int def_value;
	bool active_low;
	const char *name;
};

#endif