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
5e2e0e24
Commit
5e2e0e24
authored
Mar 04, 2004
by
Keith M. Wesolowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: Make parport_sunbpp compile again
parent
ddde7f68
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
drivers/parport/parport_sunbpp.c
drivers/parport/parport_sunbpp.c
+3
-2
No files found.
drivers/parport/parport_sunbpp.c
View file @
5e2e0e24
...
@@ -44,9 +44,10 @@
...
@@ -44,9 +44,10 @@
#define dprintk(x)
#define dprintk(x)
#endif
#endif
static
void
parport_sunbpp_interrupt
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
static
irqreturn_t
parport_sunbpp_interrupt
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
{
{
parport_generic_irq
(
irq
,
(
struct
parport
*
)
dev_id
,
regs
);
parport_generic_irq
(
irq
,
(
struct
parport
*
)
dev_id
,
regs
);
return
IRQ_HANDLED
;
}
}
static
void
parport_sunbpp_disable_irq
(
struct
parport
*
p
)
static
void
parport_sunbpp_disable_irq
(
struct
parport
*
p
)
...
@@ -384,7 +385,7 @@ static int __init parport_sunbpp_init(void)
...
@@ -384,7 +385,7 @@ static int __init parport_sunbpp_init(void)
static
void
__exit
parport_sunbpp_exit
(
void
)
static
void
__exit
parport_sunbpp_exit
(
void
)
{
{
while
(
!
list_empty
(
port_list
))
{
while
(
!
list_empty
(
&
port_list
))
{
Node
*
node
=
list_entry
(
port_list
.
next
,
Node
,
list
);
Node
*
node
=
list_entry
(
port_list
.
next
,
Node
,
list
);
struct
parport
*
p
=
node
->
port
;
struct
parport
*
p
=
node
->
port
;
struct
parport_operations
*
ops
=
p
->
ops
;
struct
parport_operations
*
ops
=
p
->
ops
;
...
...
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