From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sam Ravnborg Subject: Re: [PATCH] sh: maple: add support for the Maple mouse on the SEGA Dreamcast Date: Mon, 29 Dec 2008 22:46:34 +0100 Message-ID: <20081229214634.GA27064@uranus.ravnborg.org> References: <1230578246.6496.25.camel@localhost.localdomain> <200812291602.18572.vapier@gentoo.org> <1230586215.6496.28.camel@localhost.localdomain> <200812291636.36303.vapier@gentoo.org> <1230586714.6496.29.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1230586714.6496.29.camel@localhost.localdomain> Sender: linux-kernel-owner@vger.kernel.org To: Adrian McMenamin Cc: Mike Frysinger , LKML , Dmitry Torokhov , linux-sh , linux-input , Andrew Morton , Paul Mundt List-Id: linux-input@vger.kernel.org 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