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
6002e450
Commit
6002e450
authored
Jun 29, 2006
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SUNHME]: Mark SBUS probing routines as __devinit.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
675f740e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
drivers/net/sunhme.c
drivers/net/sunhme.c
+5
-5
No files found.
drivers/net/sunhme.c
View file @
6002e450
...
...
@@ -2523,7 +2523,7 @@ static struct ethtool_ops hme_ethtool_ops = {
static
int
hme_version_printed
;
#ifdef CONFIG_SBUS
void
__init
quattro_get_ranges
(
struct
quattro
*
qp
)
void
__
dev
init
quattro_get_ranges
(
struct
quattro
*
qp
)
{
struct
sbus_dev
*
sdev
=
qp
->
quattro_dev
;
int
err
;
...
...
@@ -2539,7 +2539,7 @@ void __init quattro_get_ranges(struct quattro *qp)
qp
->
nranges
=
(
err
/
sizeof
(
struct
linux_prom_ranges
));
}
static
void
__init
quattro_apply_ranges
(
struct
quattro
*
qp
,
struct
happy_meal
*
hp
)
static
void
__
dev
init
quattro_apply_ranges
(
struct
quattro
*
qp
,
struct
happy_meal
*
hp
)
{
struct
sbus_dev
*
sdev
=
hp
->
happy_dev
;
int
rng
;
...
...
@@ -2566,7 +2566,7 @@ static void __init quattro_apply_ranges(struct quattro *qp, struct happy_meal *h
*
* Return NULL on failure.
*/
static
struct
quattro
*
__init
quattro_sbus_find
(
struct
sbus_dev
*
goal_sdev
)
static
struct
quattro
*
__
dev
init
quattro_sbus_find
(
struct
sbus_dev
*
goal_sdev
)
{
struct
sbus_dev
*
sdev
;
struct
quattro
*
qp
;
...
...
@@ -2618,7 +2618,7 @@ static void __init quattro_sbus_register_irqs(void)
}
}
static
void
__devexit
quattro_sbus_free_irqs
(
void
)
static
void
quattro_sbus_free_irqs
(
void
)
{
struct
quattro
*
qp
;
...
...
@@ -2662,7 +2662,7 @@ static struct quattro * __init quattro_pci_find(struct pci_dev *pdev)
#endif
/* CONFIG_PCI */
#ifdef CONFIG_SBUS
static
int
__init
happy_meal_sbus_probe_one
(
struct
sbus_dev
*
sdev
,
int
is_qfe
)
static
int
__
dev
init
happy_meal_sbus_probe_one
(
struct
sbus_dev
*
sdev
,
int
is_qfe
)
{
struct
device_node
*
dp
=
sdev
->
ofdev
.
node
;
struct
quattro
*
qp
=
NULL
;
...
...
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