Skip to content

Commit

Permalink
Blackfin arch: remove useless mtd defines in uClinux
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Aug 5, 2008
1 parent 30a2f3c commit 0f0625d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/asm-blackfin/bfin-global.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0f0625d

Please sign in to comment.