Commit 4caefee0 authored by Art Haas's avatar Art Haas Committed by David S. Miller

[PATCH] C99 initializers for drivers/parisc

parent df4162c0
...@@ -283,12 +283,12 @@ DINO_PORT_OUT(w, 16, 2) ...@@ -283,12 +283,12 @@ DINO_PORT_OUT(w, 16, 2)
DINO_PORT_OUT(l, 32, 0) DINO_PORT_OUT(l, 32, 0)
struct pci_port_ops dino_port_ops = { struct pci_port_ops dino_port_ops = {
inb: dino_in8, .inb = dino_in8,
inw: dino_in16, .inw = dino_in16,
inl: dino_in32, .inl = dino_in32,
outb: dino_out8, .outb = dino_out8,
outw: dino_out16, .outw = dino_out16,
outl: dino_out32 .outl = dino_out32
}; };
static void static void
...@@ -368,10 +368,10 @@ dino_enable_irq(void *irq_dev, int irq) ...@@ -368,10 +368,10 @@ dino_enable_irq(void *irq_dev, int irq)
static struct irq_region_ops dino_irq_ops = { static struct irq_region_ops dino_irq_ops = {
disable_irq: dino_mask_irq, /* ??? */ .disable_irq = dino_mask_irq, /* ??? */
enable_irq: dino_enable_irq, .enable_irq = dino_enable_irq,
mask_irq: dino_mask_irq, .mask_irq = dino_mask_irq,
unmask_irq: dino_unmask_irq .unmask_irq = dino_unmask_irq
}; };
......
...@@ -205,9 +205,9 @@ static struct irqaction action[IRQ_PER_REGION]; ...@@ -205,9 +205,9 @@ static struct irqaction action[IRQ_PER_REGION];
/* EISA needs to be fixed at IRQ region #0 (EISA_IRQ_REGION) */ /* EISA needs to be fixed at IRQ region #0 (EISA_IRQ_REGION) */
static struct irq_region eisa_irq_region = { static struct irq_region eisa_irq_region = {
ops: { eisa_disable_irq, eisa_enable_irq, eisa_mask_irq, eisa_unmask_irq }, .ops = { eisa_disable_irq, eisa_enable_irq, eisa_mask_irq, eisa_unmask_irq },
data: { name: "EISA", irqbase: 0 }, .data = { .name = "EISA", .irqbase = 0 },
action: action, .action = action,
}; };
static void eisa_irq(int _, void *intr_dev, struct pt_regs *regs) static void eisa_irq(int _, void *intr_dev, struct pt_regs *regs)
......
...@@ -531,7 +531,7 @@ DECLARE_TASKLET_DISABLED(led_tasklet, led_tasklet_func, 0); ...@@ -531,7 +531,7 @@ DECLARE_TASKLET_DISABLED(led_tasklet, led_tasklet_func, 0);
static int led_halt(struct notifier_block *, unsigned long, void *); static int led_halt(struct notifier_block *, unsigned long, void *);
static struct notifier_block led_notifier = { static struct notifier_block led_notifier = {
notifier_call: led_halt, .notifier_call = led_halt,
}; };
static int led_halt(struct notifier_block *nb, unsigned long event, void *buf) static int led_halt(struct notifier_block *nb, unsigned long event, void *buf)
......
...@@ -305,8 +305,8 @@ static int parisc_panic_event(struct notifier_block *this, ...@@ -305,8 +305,8 @@ static int parisc_panic_event(struct notifier_block *this,
} }
static struct notifier_block parisc_panic_block = { static struct notifier_block parisc_panic_block = {
notifier_call: parisc_panic_event, .notifier_call = parisc_panic_event,
priority: INT_MAX, .priority = INT_MAX,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment