ARM: sa11x0: convert to use DEFINE_RES_xxx macros
Convert StrongARM-11x0 platforms and core SoC code to use the DEFINE_RES_xxx macros. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
@@ -152,15 +152,8 @@ static struct flash_platform_data assabet_flash_data = {
|
||||
};
|
||||
|
||||
static struct resource assabet_flash_resources[] = {
|
||||
{
|
||||
.start = SA1100_CS0_PHYS,
|
||||
.end = SA1100_CS0_PHYS + SZ_32M - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
}, {
|
||||
.start = SA1100_CS1_PHYS,
|
||||
.end = SA1100_CS1_PHYS + SZ_32M - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
}
|
||||
DEFINE_RES_MEM(SA1100_CS0_PHYS, SZ_32M),
|
||||
DEFINE_RES_MEM(SA1100_CS1_PHYS, SZ_32M),
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user