#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/backlight.h>
#include <linux/mfd/pcf50633/core.h>
#include <linux/mfd/pcf50633/backlight.h>
struct pcf50633_bl { … };
int pcf50633_bl_set_brightness_limit(struct pcf50633 *pcf, unsigned int limit)
{ … }
static int pcf50633_bl_update_status(struct backlight_device *bl)
{ … }
static int pcf50633_bl_get_brightness(struct backlight_device *bl)
{ … }
static const struct backlight_ops pcf50633_bl_ops = …;
static int pcf50633_bl_probe(struct platform_device *pdev)
{ … }
static struct platform_driver pcf50633_bl_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;