diff options
Diffstat (limited to 'arch/arm/mach-pxa')
| -rw-r--r-- | arch/arm/mach-pxa/irq.c | 3 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/sharpsl_pm.c | 6 | ||||
| -rw-r--r-- | arch/arm/mach-pxa/spitz.c | 1 | 
3 files changed, 4 insertions, 6 deletions
| diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach-pxa/irq.c index 96f33ef1d9ea..a9ef71008147 100644 --- a/arch/arm/mach-pxa/irq.c +++ b/arch/arm/mach-pxa/irq.c @@ -257,8 +257,7 @@ void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int))  	}  	pxa_irq_base = io_p2v(res.start); -	if (of_find_property(node, "marvell,intc-priority", NULL)) -		cpu_has_ipr = 1; +	cpu_has_ipr = of_property_read_bool(node, "marvell,intc-priority");  	ret = irq_alloc_descs(-1, 0, pxa_internal_irq_nr, 0);  	if (ret < 0) { diff --git a/arch/arm/mach-pxa/sharpsl_pm.c b/arch/arm/mach-pxa/sharpsl_pm.c index 929cc51ed7c2..d29bdcd5270e 100644 --- a/arch/arm/mach-pxa/sharpsl_pm.c +++ b/arch/arm/mach-pxa/sharpsl_pm.c @@ -890,7 +890,7 @@ static int sharpsl_pm_probe(struct platform_device *pdev)  	return 0;  } -static int sharpsl_pm_remove(struct platform_device *pdev) +static void sharpsl_pm_remove(struct platform_device *pdev)  {  	suspend_set_ops(NULL); @@ -917,13 +917,11 @@ static int sharpsl_pm_remove(struct platform_device *pdev)  	del_timer_sync(&sharpsl_pm.chrg_full_timer);  	del_timer_sync(&sharpsl_pm.ac_timer); - -	return 0;  }  static struct platform_driver sharpsl_pm_driver = {  	.probe		= sharpsl_pm_probe, -	.remove		= sharpsl_pm_remove, +	.remove_new	= sharpsl_pm_remove,  	.suspend	= sharpsl_pm_suspend,  	.resume		= sharpsl_pm_resume,  	.driver		= { diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c index 26f0ebc4d136..4325bdc2b9ff 100644 --- a/arch/arm/mach-pxa/spitz.c +++ b/arch/arm/mach-pxa/spitz.c @@ -25,6 +25,7 @@  #include <linux/spi/pxa2xx_spi.h>  #include <linux/mtd/sharpsl.h>  #include <linux/mtd/physmap.h> +#include <linux/input-event-codes.h>  #include <linux/input/matrix_keypad.h>  #include <linux/regulator/machine.h>  #include <linux/io.h> | 
