Re: [PATCH] sh: maple: add support for the Maple mouse on the SEGA Dreamcast

From: Sam Ravnborg
Date: Mon Dec 29 2008 - 16:45:22 EST


On Mon, Dec 29, 2008 at 09:38:34PM +0000, Adrian McMenamin wrote:
> On Mon, 2008-12-29 at 16:36 -0500, Mike Frysinger wrote:
> > On Monday 29 December 2008 16:30:14 Adrian McMenamin wrote:
> > > +static int __devexit remove_maple_mouse(struct device *dev)
> > > +static struct maple_driver dc_mouse_driver = {
> > > + .drv = {
> > > + .remove = remove_maple_mouse,
> >
> > does that really build warning free ? usually you need __devexit_p() in the
> > .remove assignment ...
> > -mike
>
> Yep
>
> adrian@bossclass:~/linux-2.6$ make ARCH=sh
> CROSS_COMPILE=/home/adrian/dreamy-linux/buildroot/build_sh4/staging_dir/bin/sh4-linux- zImage modules -j4
> scripts/kconfig/conf -s arch/sh/Kconfig
> CHK include/linux/version.h
> SYMLINK include/asm -> include/asm-sh
> make[1]: `include/asm-sh/machtypes.h' is up to date.
> CHK include/linux/utsrelease.h
> UPD include/linux/utsrelease.h
> CALL scripts/checksyscalls.sh
> CHK include/linux/compile.h
> CC init/version.o
> CC kernel/module.o
> LD init/built-in.o
> CC [M] drivers/input/mouse/maplemouse.o
> LD kernel/built-in.o

Look for an increase in section mismatch warning or try to
build with:
make CONFIG_DEBUG_SECTION_MISMATCH=y

Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/