[ARM] 3741/1: remove sa1111.c build warning on non-sa1100 systems

Patch from David Brownell

Remove buld warning when building sa1111 on non-sa1100 platforms (e.g. PXA).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by David Brownell and committed by Russell King 416112f8 8f1bf874

+5 -1
+5 -1
arch/arm/common/sa1111.c
··· 618 { 619 struct sa1111 *sachip; 620 unsigned long id; 621 - unsigned int has_devs, val; 622 int i, ret = -ENODEV; 623 624 sachip = kzalloc(sizeof(struct sa1111), GFP_KERNEL); ··· 669 sa1111_wake(sachip); 670 671 #ifdef CONFIG_ARCH_SA1100 672 /* 673 * The SDRAM configuration of the SA1110 and the SA1111 must 674 * match. This is very important to ensure that SA1111 accesses ··· 695 * Enable the SA1110 memory bus request and grant signals. 696 */ 697 sa1110_mb_enable(); 698 #endif 699 700 /*
··· 618 { 619 struct sa1111 *sachip; 620 unsigned long id; 621 + unsigned int has_devs; 622 int i, ret = -ENODEV; 623 624 sachip = kzalloc(sizeof(struct sa1111), GFP_KERNEL); ··· 669 sa1111_wake(sachip); 670 671 #ifdef CONFIG_ARCH_SA1100 672 + { 673 + unsigned int val; 674 + 675 /* 676 * The SDRAM configuration of the SA1110 and the SA1111 must 677 * match. This is very important to ensure that SA1111 accesses ··· 692 * Enable the SA1110 memory bus request and grant signals. 693 */ 694 sa1110_mb_enable(); 695 + } 696 #endif 697 698 /*