]> git.baikalelectronics.ru Git - kernel.git/commit
nouveau: fix acpi_lid_open undefined
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 24 May 2010 00:00:40 +0000 (17:00 -0700)
committerDave Airlie <airlied@redhat.com>
Mon, 24 May 2010 00:21:47 +0000 (10:21 +1000)
commit2c2f38d7da6b1ab5f171ca6f0d0f62eea0781db7
treed2f25279b8264b6ed7ecd21fb7900ee34353ab8b
parenta40900d1a2c5a0a7671bd262a8530bd3de1cf2e4
nouveau: fix acpi_lid_open undefined

When CONFIG_ACPI_BUTTON=m (and probably when ACPI_BUTTON is not enabled)
and NOUVEAU is built-in (not as a loadable module):

nouveau_connector.c:(.text+0xe17ce): undefined reference to `acpi_lid_open'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nouveau_connector.c