]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Fix drivers/macintosh/mediabay.c when !CONFIG_ADB_PMU
authorTony Breeds <tony@bakeyournoodle.com>
Tue, 11 Mar 2008 23:48:48 +0000 (10:48 +1100)
committerPaul Mackerras <paulus@samba.org>
Wed, 12 Mar 2008 23:09:27 +0000 (10:09 +1100)
commita99d9a6ebdf8328d5c61ca9f1038f4815e25720e
tree1c33016cd5c5d7c8a2443fc0124c876539182cdb
parent07c941d00087581c9553661c2c4fb593da37f525
[POWERPC] Fix drivers/macintosh/mediabay.c when !CONFIG_ADB_PMU

When building drivers/macintosh/mediabay.c if CONFIG_ADB_PMU isn't
defined we get:

drivers/built-in.o: In function `media_bay_step':
mediabay.c:(.text+0x92b84): undefined reference to `pmu_suspend'
mediabay.c:(.text+0x92c08): undefined reference to `pmu_resume'

Create empty place holders in that scenario.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/linux/pmu.h