summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/video_detect.c
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2010-08-30 14:08:02 +0800
committerLen Brown <len.brown@intel.com>2010-09-28 21:38:01 -0400
commitec652b351f48ed4cd6796181fbb41759ff88cc0a (patch)
tree919a8aba7db1327cd5d0091fb2b7bdc742d4b5f5 /drivers/acpi/video_detect.c
parent899611ee7d373e5eeda08e9a8632684e1ebbbf00 (diff)
downloadop-kernel-dev-ec652b351f48ed4cd6796181fbb41759ff88cc0a.zip
op-kernel-dev-ec652b351f48ed4cd6796181fbb41759ff88cc0a.tar.gz
ACPI: fix build warnings resulting from merge window conflict
drivers/acpi/sysfs.c:154: warning: passing argument 1 of '__check_old_set_param' from incompatible pointer type include/linux/moduleparam.h:165: note: expected 'int (*)(const char *, struct kernel_param *)' but argument is of type 'int (*)(const char *, const struct kernel_param *)' Introduced by commit 1c8fce27e275fd7c6b75bc6455745f02d3903ee6 ("ACPI: introduce drivers/acpi/sysfs.c") interacting with commit 9bbb9e5a33109b2832e2e63dcc7a132924ab374b ("param: use ops in struct kernel_param, rather than get and set fns directly"). Use module_param_cb instead of the obsoleted module_param_call to fix a build warning. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/video_detect.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud