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
3de143ef
Commit
3de143ef
authored
Jul 22, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: Fix compile warnings in flash driver when !PCI.
parent
8d8c2fe5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
drivers/sbus/char/flash.c
drivers/sbus/char/flash.c
+4
-1
No files found.
drivers/sbus/char/flash.c
View file @
3de143ef
...
@@ -162,10 +162,13 @@ static int __init flash_init(void)
...
@@ -162,10 +162,13 @@ static int __init flash_init(void)
{
{
struct
sbus_bus
*
sbus
;
struct
sbus_bus
*
sbus
;
struct
sbus_dev
*
sdev
=
0
;
struct
sbus_dev
*
sdev
=
0
;
#ifdef CONFIG_PCI
struct
linux_ebus
*
ebus
;
struct
linux_ebus
*
ebus
;
struct
linux_ebus_device
*
edev
=
0
;
struct
linux_ebus_device
*
edev
=
0
;
struct
linux_prom_registers
regs
[
2
];
struct
linux_prom_registers
regs
[
2
];
int
len
,
err
,
nregs
;
int
len
,
nregs
;
#endif
int
err
;
for_all_sbusdev
(
sdev
,
sbus
)
{
for_all_sbusdev
(
sdev
,
sbus
)
{
if
(
!
strcmp
(
sdev
->
prom_name
,
"flashprom"
))
{
if
(
!
strcmp
(
sdev
->
prom_name
,
"flashprom"
))
{
...
...
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