[WATCHDOG] mpc8xxx_wdt: fix modular build
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Wed, 20 Aug 2008 23:38:36 +0000 (16:38 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 26 Aug 2008 20:20:44 +0000 (20:20 +0000)
commit593fc178f634b742d03660a35fcb5694c0751718
treefa0ac9b0431b6de5f62b93495c8ff49d3cdbc4d8
parentab4ba3cdeb59e85552422680b5bac99e28740330
[WATCHDOG] mpc8xxx_wdt: fix modular build

Fix the following build error when mpc8xxx_wdt is selected to build as a
module:

drivers/watchdog/mpc8xxx_wdt.c:304: error: redefinition of '__inittest'
drivers/watchdog/mpc8xxx_wdt.c:298: error: previous definition of '__inittest' was here
drivers/watchdog/mpc8xxx_wdt.c:304: error: redefinition of 'init_module'
drivers/watchdog/mpc8xxx_wdt.c:298: error: previous definition of 'init_module' was here

Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Cc: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/watchdog/mpc8xxx_wdt.c