#ifndef _LINUX_LCD_H
#define _LINUX_LCD_H
#include <linux/device.h>
#include <linux/mutex.h>
#include <linux/notifier.h>
#include <linux/fb.h>
struct lcd_device;
struct fb_info;
struct lcd_properties { … };
struct lcd_ops { … };
struct lcd_device { … };
struct lcd_platform_data { … };
static inline void lcd_set_power(struct lcd_device *ld, int power)
{ … }
extern struct lcd_device *lcd_device_register(const char *name,
struct device *parent, void *devdata, const struct lcd_ops *ops);
extern struct lcd_device *devm_lcd_device_register(struct device *dev,
const char *name, struct device *parent,
void *devdata, const struct lcd_ops *ops);
extern void lcd_device_unregister(struct lcd_device *ld);
extern void devm_lcd_device_unregister(struct device *dev,
struct lcd_device *ld);
#define to_lcd_device(obj) …
static inline void * lcd_get_data(struct lcd_device *ld_dev)
{ … }
#endif