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
94ea2783
Commit
94ea2783
authored
Apr 01, 2003
by
Rusty Russell
Committed by
Linus Torvalds
Apr 01, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] [PATCH 2.5.59] Change __initdata to __initdata_or_module
From: Pablo Menichini <pablo@menichini.com.ar>
parent
7d456e25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
drivers/net/hamradio/dmascc.c
drivers/net/hamradio/dmascc.c
+2
-3
No files found.
drivers/net/hamradio/dmascc.c
View file @
94ea2783
...
@@ -285,9 +285,8 @@ static inline unsigned char random(void);
...
@@ -285,9 +285,8 @@ static inline unsigned char random(void);
/* Initialization variables */
/* Initialization variables */
static
int
io
[
MAX_NUM_DEVS
]
__initdata
=
{
0
,
};
static
int
io
[
MAX_NUM_DEVS
]
__initdata
=
{
0
,
};
/* Beware! hw[] is also used in cleanup_module(). If __initdata also applies
/* Beware! hw[] is also used in cleanup_module(). */
to modules, we may not declare hw[] as __initdata */
static
struct
scc_hardware
hw
[
NUM_TYPES
]
__initdata_or_module
=
HARDWARE
;
static
struct
scc_hardware
hw
[
NUM_TYPES
]
__initdata
=
HARDWARE
;
static
char
ax25_broadcast
[
7
]
__initdata
=
static
char
ax25_broadcast
[
7
]
__initdata
=
{
'Q'
<<
1
,
'S'
<<
1
,
'T'
<<
1
,
' '
<<
1
,
' '
<<
1
,
' '
<<
1
,
'0'
<<
1
};
{
'Q'
<<
1
,
'S'
<<
1
,
'T'
<<
1
,
' '
<<
1
,
' '
<<
1
,
' '
<<
1
,
'0'
<<
1
};
static
char
ax25_test
[
7
]
__initdata
=
static
char
ax25_test
[
7
]
__initdata
=
...
...
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