summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup_32.c
diff options
context:
space:
mode:
authors.hauer@pengutronix.de <s.hauer@pengutronix.de>2006-11-02 13:56:10 +0100
committerPaul Mackerras <paulus@samba.org>2006-11-13 14:44:59 +1100
commitfd6e7d2d6a0231ebfa08e1f9a323497ea548da7d (patch)
tree789866164c4d6e1eec6039f75155bd7f1c97b67e /arch/powerpc/kernel/setup_32.c
parent99a565bab1a41819b9f85c8c069a2f3fc6e27d55 (diff)
downloadblackbird-op-linux-fd6e7d2d6a0231ebfa08e1f9a323497ea548da7d.tar.gz
blackbird-op-linux-fd6e7d2d6a0231ebfa08e1f9a323497ea548da7d.zip
[PATCH] Clean up usage of boot_dev
dev_t boot_dev is declared in arch/powerpc/kernel/setup_32.c and in arch/powerpc/kernel/setup_64.c but not used in these files. It is only used in arch/powerpc/platforms/powermac/setup.c, so make it static in this file. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/setup_32.c')
-rw-r--r--arch/powerpc/kernel/setup_32.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c
index 191d0ab09222..517ed1b1b160 100644
--- a/arch/powerpc/kernel/setup_32.c
+++ b/arch/powerpc/kernel/setup_32.c
@@ -63,10 +63,6 @@ unsigned int DMA_MODE_WRITE;
int have_of = 1;
-#ifdef CONFIG_PPC_MULTIPLATFORM
-dev_t boot_dev;
-#endif /* CONFIG_PPC_MULTIPLATFORM */
-
#ifdef CONFIG_VGA_CONSOLE
unsigned long vgacon_remap_base;
#endif
OpenPOWER on IntegriCloud