Skip to content

Commit 62a8370

Browse files
Sachin Kamatdavem330
authored andcommitted
net: wan: sbni: Fix incorrect placement of __initdata
__initdata should be placed between the variable name and equal sign for the variable to be placed in the intended section. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 71acc0d commit 62a8370

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/wan/sbni.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ static u32 mac[ SBNI_MAX_NUM_CARDS ] __initdata;
176176

177177
#ifndef MODULE
178178
typedef u32 iarr[];
179-
static iarr __initdata *dest[5] = { &io, &irq, &baud, &rxl, &mac };
179+
static iarr *dest[5] __initdata = { &io, &irq, &baud, &rxl, &mac };
180180
#endif
181181

182182
/* A zero-terminated list of I/O addresses to be probed on ISA bus */

0 commit comments

Comments
 (0)