Return-Path: Date: Mon, 19 Jul 2010 17:23:10 -0700 From: Randy Dunlap Message-Id: <20100719172310.87625ce4.randy.dunlap@oracle.com> In-Reply-To: <20100719133841.babc9ccb.sfr@canb.auug.org.au> References: <20100719133841.babc9ccb.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [B.A.T.M.A.N.] [PATCH -next] staging: don't use default init_module/cleanup_module function names Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stephen Rothwell , Scott Smedley , gregkh@suse.de Cc: Marek, b.a.t.m.a.n@lists.open-mesh.net, LKML , Simon Wunderlich , linux-next@vger.kernel.org, Lindner Fromy: Randy Dunlap Fix two staging drivers to use module_init()/module_exit() instead of default init_module() and cleanup_module() function names so that there are no name conflicts when both are built-in. drivers/staging/dt3155/built-in.o: In function `cleanup_module': (.text+0xc0): multiple definition of `cleanup_module' drivers/staging/batman-adv/built-in.o:(.text+0x330): first defined here drivers/staging/dt3155/built-in.o: In function `init_module': (.text+0xe60): multiple definition of `init_module' drivers/staging/batman-adv/built-in.o:(.text+0x400): first defined here Signed-off-by: Randy Dunlap Cc: Scott Smedley Cc: Marek Lindner Cc: Simon Wunderlich Cc: Andrew Lunn Cc: b.a.t.m.a.n@lists.open-mesh.net Cc: Greg Kroah-Hartman