]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
hamradio: fix dmascc section mismatch
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 5 Feb 2008 11:04:05 +0000 (03:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Feb 2008 11:04:05 +0000 (03:04 -0800)
commitcd8d627a6b66d9755637b4dad2083864a9bfce9a
treeb165e00bd21b9dacfa3a7e4dde4c6d060a614a2d
parent7cc08b55fc476a9474e4dc9da41071b5dc2b406e
hamradio: fix dmascc section mismatch

hw[] is used in both init and exit functions so it cannot be initdata (section
mismatch is when CONFIG_MODULES=n and CONFIG_DMASCC=y).

WARNING: vmlinux.o(.exit.text+0xba7): Section mismatch: reference to .init.data: (between 'dmascc_exit' and 'sixpack_exit_driver')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Klaus Kudielka <klaus.kudielka@gmx.net>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hamradio/dmascc.c