From 94ea278336bf9d611529f99610bcef630851dd90 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 1 Apr 2003 03:53:06 -0800 Subject: [PATCH] [PATCH] [PATCH 2.5.59] Change __initdata to __initdata_or_module From: Pablo Menichini --- drivers/net/hamradio/dmascc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/hamradio/dmascc.c b/drivers/net/hamradio/dmascc.c index fb380f7a430bd..e5bfb1b5f615d 100644 --- a/drivers/net/hamradio/dmascc.c +++ b/drivers/net/hamradio/dmascc.c @@ -285,9 +285,8 @@ static inline unsigned char random(void); /* Initialization variables */ static int io[MAX_NUM_DEVS] __initdata = { 0, }; -/* Beware! hw[] is also used in cleanup_module(). If __initdata also applies - to modules, we may not declare hw[] as __initdata */ -static struct scc_hardware hw[NUM_TYPES] __initdata = HARDWARE; +/* Beware! hw[] is also used in cleanup_module(). */ +static struct scc_hardware hw[NUM_TYPES] __initdata_or_module = HARDWARE; static char ax25_broadcast[7] __initdata = { 'Q'<<1, 'S'<<1, 'T'<<1, ' '<<1, ' '<<1, ' '<<1, '0'<<1 }; static char ax25_test[7] __initdata = -- 2.53.0