Re: [patch 1/2] hamradio: fix dmascc section mismatch

2008-02-05 Thread David Miller
From: [EMAIL PROTECTED] Date: Mon, 04 Feb 2008 23:45:20 -0800 From: Randy Dunlap [EMAIL PROTECTED] 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:

[patch 1/2] hamradio: fix dmascc section mismatch

2008-02-04 Thread akpm
From: Randy Dunlap [EMAIL PROTECTED] 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