diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-03-13 05:35:15 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-04-02 12:38:22 -0400 |
commit | 46f101df788b38fafa08e85dcbf85d3bff6c1ea3 (patch) | |
tree | e1bbfe590f4bddd7051d98e3bbd8fb421cee8bb0 /drivers/irqchip | |
parent | 1a02bdffa61b47f422343c62d9bbf5708bc8772d (diff) |
irqchip: irq-gic: Fix checkpatch errors
Fixes the following errors:
ERROR: do not initialise statics to 0 or NULL
ERROR: space required after that ',' (ctx:VxV)
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/irqchip')
-rw-r--r-- | drivers/irqchip/irq-gic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c index 644d72468423..80a4f7a7d7b8 100644 --- a/drivers/irqchip/irq-gic.c +++ b/drivers/irqchip/irq-gic.c | |||
@@ -127,7 +127,7 @@ static inline void gic_set_base_accessor(struct gic_chip_data *data, | |||
127 | #else | 127 | #else |
128 | #define gic_data_dist_base(d) ((d)->dist_base.common_base) | 128 | #define gic_data_dist_base(d) ((d)->dist_base.common_base) |
129 | #define gic_data_cpu_base(d) ((d)->cpu_base.common_base) | 129 | #define gic_data_cpu_base(d) ((d)->cpu_base.common_base) |
130 | #define gic_set_base_accessor(d,f) | 130 | #define gic_set_base_accessor(d, f) |
131 | #endif | 131 | #endif |
132 | 132 | ||
133 | static inline void __iomem *gic_dist_base(struct irq_data *d) | 133 | static inline void __iomem *gic_dist_base(struct irq_data *d) |
@@ -807,7 +807,7 @@ void __cpuinit gic_secondary_init(unsigned int gic_nr) | |||
807 | } | 807 | } |
808 | 808 | ||
809 | #ifdef CONFIG_OF | 809 | #ifdef CONFIG_OF |
810 | static int gic_cnt __initdata = 0; | 810 | static int gic_cnt __initdata; |
811 | 811 | ||
812 | int __init gic_of_init(struct device_node *node, struct device_node *parent) | 812 | int __init gic_of_init(struct device_node *node, struct device_node *parent) |
813 | { | 813 | { |