提交 86298962 编写于 作者: H Haavard Skinnemoen

[AVR32] Fix a couple of sparse warnings

Signed-off-by: NHaavard Skinnemoen <hskinnemoen@atmel.com>
上级 1c2f1737
...@@ -142,7 +142,7 @@ static int eic_set_irq_type(unsigned int irq, unsigned int flow_type) ...@@ -142,7 +142,7 @@ static int eic_set_irq_type(unsigned int irq, unsigned int flow_type)
return ret; return ret;
} }
struct irq_chip eic_chip = { static struct irq_chip eic_chip = {
.name = "eic", .name = "eic",
.ack = eic_ack_irq, .ack = eic_ack_irq,
.mask = eic_mask_irq, .mask = eic_mask_irq,
......
...@@ -113,8 +113,8 @@ ...@@ -113,8 +113,8 @@
/* Register access macros */ /* Register access macros */
#define pm_readl(reg) \ #define pm_readl(reg) \
__raw_readl((void __iomem *)AT32_PM_BASE + PM_##reg) __raw_readl((void __iomem __force *)AT32_PM_BASE + PM_##reg)
#define pm_writel(reg,value) \ #define pm_writel(reg,value) \
__raw_writel((value), (void __iomem *)AT32_PM_BASE + PM_##reg) __raw_writel((value), (void __iomem __force *)AT32_PM_BASE + PM_##reg)
#endif /* __ARCH_AVR32_MACH_AT32AP_PM_H__ */ #endif /* __ARCH_AVR32_MACH_AT32AP_PM_H__ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册