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>
此提交包含在:
@@ -179,11 +179,8 @@ static struct flash_platform_data hackkit_flash_data = {
|
||||
.nr_parts = ARRAY_SIZE(hackkit_partitions),
|
||||
};
|
||||
|
||||
static struct resource hackkit_flash_resource = {
|
||||
.start = SA1100_CS0_PHYS,
|
||||
.end = SA1100_CS0_PHYS + SZ_32M - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
};
|
||||
static struct resource hackkit_flash_resource =
|
||||
DEFINE_RES_MEM(SA1100_CS0_PHYS, SZ_32M);
|
||||
|
||||
static void __init hackkit_init(void)
|
||||
{
|
||||
|
新增問題並參考
封鎖使用者