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
nexedi
linux
Commits
8b551fcc
Commit
8b551fcc
authored
Jul 25, 2003
by
Geert Uytterhoeven
Committed by
Jens Axboe
Jul 25, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] M68k floppy warnings
M68k floppy: Kill warnings when compiling a multi-platform kernel
parent
01b9e994
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
include/asm-m68k/floppy.h
include/asm-m68k/floppy.h
+3
-2
No files found.
include/asm-m68k/floppy.h
View file @
8b551fcc
...
@@ -72,6 +72,7 @@ static __inline__ unsigned char fd_inb(int port)
...
@@ -72,6 +72,7 @@ static __inline__ unsigned char fd_inb(int port)
return
inb_p
(
port
);
return
inb_p
(
port
);
else
if
(
MACH_IS_SUN3X
)
else
if
(
MACH_IS_SUN3X
)
return
sun3x_82072_fd_inb
(
port
);
return
sun3x_82072_fd_inb
(
port
);
return
0
;
}
}
static
__inline__
void
fd_outb
(
unsigned
char
value
,
int
port
)
static
__inline__
void
fd_outb
(
unsigned
char
value
,
int
port
)
...
@@ -90,7 +91,7 @@ static int fd_request_irq(void)
...
@@ -90,7 +91,7 @@ static int fd_request_irq(void)
"floppy"
,
floppy_hardint
);
"floppy"
,
floppy_hardint
);
else
if
(
MACH_IS_SUN3X
)
else
if
(
MACH_IS_SUN3X
)
return
sun3xflop_request_irq
();
return
sun3xflop_request_irq
();
return
-
ENXIO
;
}
}
static
void
fd_free_irq
(
void
)
static
void
fd_free_irq
(
void
)
...
...
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