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
bffa2154
Commit
bffa2154
authored
Jun 15, 2006
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] drivers/net/arm missing __devinit
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
afc8eb46
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
drivers/net/arm/ether1.c
drivers/net/arm/ether1.c
+3
-3
drivers/net/arm/ether3.c
drivers/net/arm/ether3.c
+4
-4
No files found.
drivers/net/arm/ether1.c
View file @
bffa2154
...
@@ -254,7 +254,7 @@ ether1_readbuffer (struct net_device *dev, void *data, unsigned int start, unsig
...
@@ -254,7 +254,7 @@ ether1_readbuffer (struct net_device *dev, void *data, unsigned int start, unsig
}
while
(
thislen
);
}
while
(
thislen
);
}
}
static
int
__init
static
int
__
dev
init
ether1_ramtest
(
struct
net_device
*
dev
,
unsigned
char
byte
)
ether1_ramtest
(
struct
net_device
*
dev
,
unsigned
char
byte
)
{
{
unsigned
char
*
buffer
=
kmalloc
(
BUFFER_SIZE
,
GFP_KERNEL
);
unsigned
char
*
buffer
=
kmalloc
(
BUFFER_SIZE
,
GFP_KERNEL
);
...
@@ -308,7 +308,7 @@ ether1_reset (struct net_device *dev)
...
@@ -308,7 +308,7 @@ ether1_reset (struct net_device *dev)
return
BUS_16
;
return
BUS_16
;
}
}
static
int
__init
static
int
__
dev
init
ether1_init_2
(
struct
net_device
*
dev
)
ether1_init_2
(
struct
net_device
*
dev
)
{
{
int
i
;
int
i
;
...
@@ -986,7 +986,7 @@ ether1_setmulticastlist (struct net_device *dev)
...
@@ -986,7 +986,7 @@ ether1_setmulticastlist (struct net_device *dev)
/* ------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------- */
static
void
__init
ether1_banner
(
void
)
static
void
__
dev
init
ether1_banner
(
void
)
{
{
static
unsigned
int
version_printed
=
0
;
static
unsigned
int
version_printed
=
0
;
...
...
drivers/net/arm/ether3.c
View file @
bffa2154
...
@@ -198,7 +198,7 @@ static inline void ether3_ledon(struct net_device *dev)
...
@@ -198,7 +198,7 @@ static inline void ether3_ledon(struct net_device *dev)
* Read the ethernet address string from the on board rom.
* Read the ethernet address string from the on board rom.
* This is an ascii string!!!
* This is an ascii string!!!
*/
*/
static
int
__init
static
int
__
dev
init
ether3_addr
(
char
*
addr
,
struct
expansion_card
*
ec
)
ether3_addr
(
char
*
addr
,
struct
expansion_card
*
ec
)
{
{
struct
in_chunk_dir
cd
;
struct
in_chunk_dir
cd
;
...
@@ -223,7 +223,7 @@ ether3_addr(char *addr, struct expansion_card *ec)
...
@@ -223,7 +223,7 @@ ether3_addr(char *addr, struct expansion_card *ec)
/* --------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------- */
static
int
__init
static
int
__
dev
init
ether3_ramtest
(
struct
net_device
*
dev
,
unsigned
char
byte
)
ether3_ramtest
(
struct
net_device
*
dev
,
unsigned
char
byte
)
{
{
unsigned
char
*
buffer
=
kmalloc
(
RX_END
,
GFP_KERNEL
);
unsigned
char
*
buffer
=
kmalloc
(
RX_END
,
GFP_KERNEL
);
...
@@ -272,7 +272,7 @@ ether3_ramtest(struct net_device *dev, unsigned char byte)
...
@@ -272,7 +272,7 @@ ether3_ramtest(struct net_device *dev, unsigned char byte)
/* ------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------- */
static
int
__init
ether3_init_2
(
struct
net_device
*
dev
)
static
int
__
dev
init
ether3_init_2
(
struct
net_device
*
dev
)
{
{
int
i
;
int
i
;
...
@@ -765,7 +765,7 @@ static void ether3_tx(struct net_device *dev)
...
@@ -765,7 +765,7 @@ static void ether3_tx(struct net_device *dev)
}
}
}
}
static
void
__init
ether3_banner
(
void
)
static
void
__
dev
init
ether3_banner
(
void
)
{
{
static
unsigned
version_printed
=
0
;
static
unsigned
version_printed
=
0
;
...
...
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