mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-02 12:38:01 +00:00
irqchip/irq-omap-intc: Do not statically initialize variables
omap_nr_pending and omap_nr_irqs variables are initialized right at the beginning of intc_of_init function, so there's no need to statically initialize them. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: Tony Lindgren <tony@atomide.com> Cc: linux-omap@vger.kernel.org Cc: Jason Cooper <jason@lakedaemon.net> Link: https://lkml.kernel.org/r/20171016161303.veumgcd3xom5c54r@lenoch
This commit is contained in:
parent
62518c02f7
commit
77c858fa34
1 changed files with 2 additions and 2 deletions
|
@ -66,8 +66,8 @@ static struct omap_intc_regs intc_context;
|
||||||
|
|
||||||
static struct irq_domain *domain;
|
static struct irq_domain *domain;
|
||||||
static void __iomem *omap_irq_base;
|
static void __iomem *omap_irq_base;
|
||||||
static int omap_nr_pending = 3;
|
static int omap_nr_pending;
|
||||||
static int omap_nr_irqs = 96;
|
static int omap_nr_irqs;
|
||||||
|
|
||||||
static void intc_writel(u32 reg, u32 val)
|
static void intc_writel(u32 reg, u32 val)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue