[Blackfin] arch: fix building with mtd uclinux by putting the mtd_phys option into the function it actually gets used in

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>

authored by Mike Frysinger and committed by Bryan Wu c0eab3b7 550d5538

+4 -3
+4 -3
arch/blackfin/kernel/setup.c
··· 407 */ 408 static __init void memory_setup(void) 409 { 410 _rambase = (unsigned long)_stext; 411 _ramstart = (unsigned long)_end; 412 ··· 611 void __init setup_arch(char **cmdline_p) 612 { 613 unsigned long l1_length, sclk, cclk; 614 - #ifdef CONFIG_MTD_UCLINUX 615 - unsigned long mtd_phys = 0; 616 - #endif 617 618 #ifdef CONFIG_DUMMY_CONSOLE 619 conswitchp = &dummy_con;
··· 407 */ 408 static __init void memory_setup(void) 409 { 410 + #ifdef CONFIG_MTD_UCLINUX 411 + unsigned long mtd_phys = 0; 412 + #endif 413 + 414 _rambase = (unsigned long)_stext; 415 _ramstart = (unsigned long)_end; 416 ··· 607 void __init setup_arch(char **cmdline_p) 608 { 609 unsigned long l1_length, sclk, cclk; 610 611 #ifdef CONFIG_DUMMY_CONSOLE 612 conswitchp = &dummy_con;