summaryrefslogtreecommitdiff
path: root/include/linux/backlight.h
diff options
context:
space:
mode:
authorYu Luming <luming.yu@gmail.com>2006-12-19 20:56:15 (GMT)
committerLen Brown <len.brown@intel.com>2006-12-20 06:42:19 (GMT)
commit519ab5f2be65b72cf12ae99c89752bbe79b44df6 (patch)
tree6e404b214e426e6ccc08e414df405655fb2b404c /include/linux/backlight.h
parentf4715189dfb1c381ad36b7e02e3716fb7a7f84db (diff)
downloadlinux-fsl-qoriq-519ab5f2be65b72cf12ae99c89752bbe79b44df6.tar.xz
ACPI: video: Add dev argument for backlight_device_register
This patch set adds generic abstract layer support for acpi video driver to have generic user interface to control backlight and output switch control by leveraging the existing backlight sysfs class driver, and by adding a new video output sysfs class driver. This patch: Add dev argument for backlight_device_register to link the class device to real device object. The platform specific driver should find a way to get the real device object for their video device. [akpm@osdl.org: build fix] [akpm@osdl.org: fix msi-laptop.c] Signed-off-by: Luming Yu <Luming.yu@intel.com> Cc: "Antonino A. Daplas" <adaplas@pol.net> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/backlight.h')
-rw-r--r--include/linux/backlight.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/backlight.h b/include/linux/backlight.h
index 75e91f5..a5cf1be 100644
--- a/include/linux/backlight.h
+++ b/include/linux/backlight.h
@@ -54,7 +54,7 @@ struct backlight_device {
};
extern struct backlight_device *backlight_device_register(const char *name,
- void *devdata, struct backlight_properties *bp);
+ struct device *dev,void *devdata,struct backlight_properties *bp);
extern void backlight_device_unregister(struct backlight_device *bd);
#define to_backlight_device(obj) container_of(obj, struct backlight_device, class_dev)