ethernet: moxa: fix incorrect placement of __initdata tag
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 30 Sep 2013 13:18:27 +0000 (15:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Oct 2013 05:16:43 +0000 (22:16 -0700)
commit437a3ae1d0b42197928d52e1108bc2fdc14d23fd
treeca945ec9d18f49cbd4fc1d770ba16da60813b3b7
parent3da812d860755925da890e8c713f2d2e2d7b1bae
ethernet: moxa: fix incorrect placement of __initdata tag

__initdata tag should be placed between the variable name and equal
sign for the variable to be placed in the intended .init.data section.

In this particular case __initdata is incorrect as moxart_mac_driver
can be used after the driver gets initialized.

Also while at it static-ize moxart_mac_driver.

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/moxa/moxart_ether.c