samsung-laptop: fix config build error
authorRandy Dunlap <rdunlap@infradead.org>
Thu, 22 Aug 2013 16:06:23 +0000 (09:06 -0700)
committerMatthew Garrett <matthew.garrett@nebula.com>
Thu, 5 Sep 2013 12:52:27 +0000 (08:52 -0400)
commit5ff67df324e8440405e620bc05ea0600f07a8a27
tree40a72ca236a7a5e2b735edaac955fd100c4e1704
parent18a0393543fa3b04278cce235d3d76a13c877b94
samsung-laptop: fix config build error

Fix build failure when ACPI_VIDEO=m and SAMSUNG_LAPTOP=y.
The patch prevents that specific config combination.

drivers/built-in.o: In function `samsung_init':
samsung-laptop.c:(.init.text+0x128ff): undefined reference to `acpi_video_unregister'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Corentin Chary <corentin.chary@gmail.com>
build testing:
ACPI_VIDEO=m, SAMSUNG_LAPTOP=m: OK
ACPI_VIDEO=y, SAMSUNG_LAPTOP=m: OK
ACPI_VIDEO=y, SAMSUNG_LAPTOP=y: OK
ACPI=n, SAMSUNG_LAPTOP=y: OK
ACPI=n, SAMSUNG_LAPTOP=m: OK
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/Kconfig