Skip to content

Commit

Permalink
irqchip: irq-gic: Fix checkpatch errors
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Olof Johansson committed Apr 2, 2013
1 parent 1a02bdf commit 46f101d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/irqchip/irq-gic.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ static inline void gic_set_base_accessor(struct gic_chip_data *data,
#else
#define gic_data_dist_base(d) ((d)->dist_base.common_base)
#define gic_data_cpu_base(d) ((d)->cpu_base.common_base)
#define gic_set_base_accessor(d,f)
#define gic_set_base_accessor(d, f)
#endif

static inline void __iomem *gic_dist_base(struct irq_data *d)
Expand Down Expand Up @@ -807,7 +807,7 @@ void __cpuinit gic_secondary_init(unsigned int gic_nr)
}

#ifdef CONFIG_OF
static int gic_cnt __initdata = 0;
static int gic_cnt __initdata;

int __init gic_of_init(struct device_node *node, struct device_node *parent)
{
Expand Down

0 comments on commit 46f101d

Please sign in to comment.