Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
4caefee0
Commit
4caefee0
authored
Nov 17, 2002
by
Art Haas
Committed by
David S. Miller
Nov 17, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 initializers for drivers/parisc
parent
df4162c0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
16 deletions
+16
-16
drivers/parisc/dino.c
drivers/parisc/dino.c
+10
-10
drivers/parisc/eisa.c
drivers/parisc/eisa.c
+3
-3
drivers/parisc/led.c
drivers/parisc/led.c
+1
-1
drivers/parisc/power.c
drivers/parisc/power.c
+2
-2
No files found.
drivers/parisc/dino.c
View file @
4caefee0
...
...
@@ -283,12 +283,12 @@ DINO_PORT_OUT(w, 16, 2)
DINO_PORT_OUT
(
l
,
32
,
0
)
struct
pci_port_ops
dino_port_ops
=
{
inb:
dino_in8
,
inw:
dino_in16
,
inl:
dino_in32
,
outb:
dino_out8
,
outw:
dino_out16
,
outl:
dino_out32
.
inb
=
dino_in8
,
.
inw
=
dino_in16
,
.
inl
=
dino_in32
,
.
outb
=
dino_out8
,
.
outw
=
dino_out16
,
.
outl
=
dino_out32
};
static
void
...
...
@@ -368,10 +368,10 @@ dino_enable_irq(void *irq_dev, int irq)
static
struct
irq_region_ops
dino_irq_ops
=
{
disable_irq:
dino_mask_irq
,
/* ??? */
enable_irq:
dino_enable_irq
,
mask_irq:
dino_mask_irq
,
unmask_irq:
dino_unmask_irq
.
disable_irq
=
dino_mask_irq
,
/* ??? */
.
enable_irq
=
dino_enable_irq
,
.
mask_irq
=
dino_mask_irq
,
.
unmask_irq
=
dino_unmask_irq
};
...
...
drivers/parisc/eisa.c
View file @
4caefee0
...
...
@@ -205,9 +205,9 @@ static struct irqaction action[IRQ_PER_REGION];
/* EISA needs to be fixed at IRQ region #0 (EISA_IRQ_REGION) */
static
struct
irq_region
eisa_irq_region
=
{
ops:
{
eisa_disable_irq
,
eisa_enable_irq
,
eisa_mask_irq
,
eisa_unmask_irq
},
data:
{
name
:
"EISA"
,
irqbase
:
0
},
action:
action
,
.
ops
=
{
eisa_disable_irq
,
eisa_enable_irq
,
eisa_mask_irq
,
eisa_unmask_irq
},
.
data
=
{
.
name
=
"EISA"
,
.
irqbase
=
0
},
.
action
=
action
,
};
static
void
eisa_irq
(
int
_
,
void
*
intr_dev
,
struct
pt_regs
*
regs
)
...
...
drivers/parisc/led.c
View file @
4caefee0
...
...
@@ -531,7 +531,7 @@ DECLARE_TASKLET_DISABLED(led_tasklet, led_tasklet_func, 0);
static
int
led_halt
(
struct
notifier_block
*
,
unsigned
long
,
void
*
);
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
)
...
...
drivers/parisc/power.c
View file @
4caefee0
...
...
@@ -305,8 +305,8 @@ static int parisc_panic_event(struct notifier_block *this,
}
static
struct
notifier_block
parisc_panic_block
=
{
notifier_call:
parisc_panic_event
,
priority:
INT_MAX
,
.
notifier_call
=
parisc_panic_event
,
.
priority
=
INT_MAX
,
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment