summaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2008-08-05 17:10:58 +0800
committerBryan Wu <cooloney@kernel.org>2008-08-05 17:10:58 +0800
commit0f0625d895bc5b3c3d7352486a94e5a75f10fd35 (patch)
tree76a786a2a08eb87dfea80ada5c121781d2eab56a /include/asm-blackfin
parent30a2f3c60a84092c8084dfe788b710f8d0768cd4 (diff)
downloadlinux-0f0625d895bc5b3c3d7352486a94e5a75f10fd35.tar.bz2
Blackfin arch: remove useless mtd defines in uClinux
dont bother protecting the mtd defines as anything that incorrectly uses it will get an error during link time anyways ... this prevents large pointless rebuilds of most files whenever the uclinux mtd map changes state Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'include/asm-blackfin')
-rw-r--r--include/asm-blackfin/bfin-global.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asm-blackfin/bfin-global.h b/include/asm-blackfin/bfin-global.h
index 320aa5e167e9..9fbbee61f982 100644
--- a/include/asm-blackfin/bfin-global.h
+++ b/include/asm-blackfin/bfin-global.h
@@ -122,9 +122,8 @@ extern char _stext_l1[], _etext_l1[], _sdata_l1[], _edata_l1[], _sbss_l1[],
_stext_l2[], _etext_l2[], _sdata_l2[], _edata_l2[], _sbss_l2[],
_ebss_l2[], _l2_lma_start[];
-#ifdef CONFIG_MTD_UCLINUX
+/* only used when CONFIG_MTD_UCLINUX */
extern unsigned long memory_mtd_start, memory_mtd_end, mtd_size;
-#endif
#endif