mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 20:02:17 +00:00
![Arnd Bergmann](/assets/img/avatar_default.png)
Platform data for device drivers should be defined in include/linux/platform_data/*.h, not in the architecture and platform specific directories. This moves such data out of the omap include directories Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Nicolas Pitre <nico@linaro.org> Acked-by: Tony Lindgren <tony@atomide.com> Cc: Kevin Hilman <khilman@ti.com> Cc: "Benoît Cousson" <b-cousson@ti.com> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Ohad Ben-Cohen <ohad@wizery.com> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Omar Ramirez Luna <omar.ramirez@ti.com> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Cc: Peter Ujfalusi <peter.ujfalusi@ti.com> Cc: Jarkko Nikula <jarkko.nikula@bitmer.com> Cc: Liam Girdwood <lrg@ti.com> Cc: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Cc: Jean Pihet <j-pihet@ti.com> Cc: J Keerthy <j-keerthy@ti.com> Cc: linux-omap@vger.kernel.org
29 lines
547 B
C
29 lines
547 B
C
#ifndef __LCD_MIPID_H
|
|
#define __LCD_MIPID_H
|
|
|
|
enum mipid_test_num {
|
|
MIPID_TEST_RGB_LINES,
|
|
};
|
|
|
|
enum mipid_test_result {
|
|
MIPID_TEST_SUCCESS,
|
|
MIPID_TEST_INVALID,
|
|
MIPID_TEST_FAILED,
|
|
};
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
struct mipid_platform_data {
|
|
int nreset_gpio;
|
|
int data_lines;
|
|
|
|
void (*shutdown)(struct mipid_platform_data *pdata);
|
|
void (*set_bklight_level)(struct mipid_platform_data *pdata,
|
|
int level);
|
|
int (*get_bklight_level)(struct mipid_platform_data *pdata);
|
|
int (*get_bklight_max)(struct mipid_platform_data *pdata);
|
|
};
|
|
|
|
#endif
|
|
|
|
#endif
|