diff options
-rw-r--r-- | arch/arm/mach-pxa/include/mach/pxa3xx-regs.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-pxa/pxa3xx.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/pxa3xx_nand.c | 4 |
3 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/include/mach/pxa3xx-regs.h b/arch/arm/mach-pxa/include/mach/pxa3xx-regs.h index 207ecb49a61b..f4d48d20754e 100644 --- a/arch/arm/mach-pxa/include/mach/pxa3xx-regs.h +++ b/arch/arm/mach-pxa/include/mach/pxa3xx-regs.h | |||
@@ -131,6 +131,7 @@ | |||
131 | #define AICSR __REG(0x41340008) /* Application Subsystem Interrupt Control/Status Register */ | 131 | #define AICSR __REG(0x41340008) /* Application Subsystem Interrupt Control/Status Register */ |
132 | #define CKENA __REG(0x4134000C) /* A Clock Enable Register */ | 132 | #define CKENA __REG(0x4134000C) /* A Clock Enable Register */ |
133 | #define CKENB __REG(0x41340010) /* B Clock Enable Register */ | 133 | #define CKENB __REG(0x41340010) /* B Clock Enable Register */ |
134 | #define CKENC __REG(0x41340024) /* C Clock Enable Register */ | ||
134 | #define AC97_DIV __REG(0x41340014) /* AC97 clock divisor value register */ | 135 | #define AC97_DIV __REG(0x41340014) /* AC97 clock divisor value register */ |
135 | 136 | ||
136 | #define ACCR_XPDIS (1 << 31) /* Core PLL Output Disable */ | 137 | #define ACCR_XPDIS (1 << 31) /* Core PLL Output Disable */ |
diff --git a/arch/arm/mach-pxa/pxa3xx.c b/arch/arm/mach-pxa/pxa3xx.c index 4a9d04a57de5..ff9c9574ec3e 100644 --- a/arch/arm/mach-pxa/pxa3xx.c +++ b/arch/arm/mach-pxa/pxa3xx.c | |||
@@ -402,11 +402,13 @@ void __init pxa3xx_init_irq(void) | |||
402 | pxa_init_irq(56, pxa3xx_set_wake); | 402 | pxa_init_irq(56, pxa3xx_set_wake); |
403 | } | 403 | } |
404 | 404 | ||
405 | #ifdef CONFIG_OF | ||
405 | void __init pxa3xx_dt_init_irq(void) | 406 | void __init pxa3xx_dt_init_irq(void) |
406 | { | 407 | { |
407 | __pxa3xx_init_irq(); | 408 | __pxa3xx_init_irq(); |
408 | pxa_dt_irq_init(pxa3xx_set_wake); | 409 | pxa_dt_irq_init(pxa3xx_set_wake); |
409 | } | 410 | } |
411 | #endif /* CONFIG_OF */ | ||
410 | 412 | ||
411 | static struct map_desc pxa3xx_io_desc[] __initdata = { | 413 | static struct map_desc pxa3xx_io_desc[] __initdata = { |
412 | { /* Mem Ctl */ | 414 | { /* Mem Ctl */ |
diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c index b0319d8934ad..d944d6ef7da8 100644 --- a/drivers/mtd/nand/pxa3xx_nand.c +++ b/drivers/mtd/nand/pxa3xx_nand.c | |||
@@ -1034,7 +1034,7 @@ static int alloc_nand_resource(struct platform_device *pdev) | |||
1034 | struct pxa3xx_nand_platform_data *pdata; | 1034 | struct pxa3xx_nand_platform_data *pdata; |
1035 | struct pxa3xx_nand_info *info; | 1035 | struct pxa3xx_nand_info *info; |
1036 | struct pxa3xx_nand_host *host; | 1036 | struct pxa3xx_nand_host *host; |
1037 | struct nand_chip *chip; | 1037 | struct nand_chip *chip = NULL; |
1038 | struct mtd_info *mtd; | 1038 | struct mtd_info *mtd; |
1039 | struct resource *r; | 1039 | struct resource *r; |
1040 | int ret, irq, cs; | 1040 | int ret, irq, cs; |
@@ -1244,7 +1244,7 @@ static int pxa3xx_nand_probe_dt(struct platform_device *pdev) | |||
1244 | return 0; | 1244 | return 0; |
1245 | } | 1245 | } |
1246 | #else | 1246 | #else |
1247 | static inline int pxa3xx_nand_probe_dt(struct platform_device *) | 1247 | static inline int pxa3xx_nand_probe_dt(struct platform_device *pdev) |
1248 | { | 1248 | { |
1249 | return 0; | 1249 | return 0; |
1250 | } | 1250 | } |