#include <linux/hid.h>
#include <linux/backlight.h>
#include "hid-picolcd.h"
static int picolcd_get_brightness(struct backlight_device *bdev)
{ … }
static int picolcd_set_brightness(struct backlight_device *bdev)
{ … }
static const struct backlight_ops picolcd_blops = …;
int picolcd_init_backlight(struct picolcd_data *data, struct hid_report *report)
{ … }
void picolcd_exit_backlight(struct picolcd_data *data)
{ … }
int picolcd_resume_backlight(struct picolcd_data *data)
{ … }
#ifdef CONFIG_PM
void picolcd_suspend_backlight(struct picolcd_data *data)
{ … }
#endif