#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/module.h>
#include <linux/fb.h>
#include <linux/backlight.h>
#include <linux/slab.h>
#include <linux/mfd/wm831x/core.h>
#include <linux/mfd/wm831x/pdata.h>
#include <linux/mfd/wm831x/regulator.h>
struct wm831x_backlight_data { … };
static int wm831x_backlight_set(struct backlight_device *bl, int brightness)
{ … }
static int wm831x_backlight_update_status(struct backlight_device *bl)
{ … }
static int wm831x_backlight_get_brightness(struct backlight_device *bl)
{ … }
static const struct backlight_ops wm831x_backlight_ops = …;
static int wm831x_backlight_probe(struct platform_device *pdev)
{ … }
static struct platform_driver wm831x_backlight_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;