Commit 94ea2783 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] [PATCH 2.5.59] Change __initdata to __initdata_or_module

From:  Pablo Menichini <pablo@menichini.com.ar>
parent 7d456e25
...@@ -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 =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment