From patchwork Tue Jul 20 00:23:10 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 347 Return-Path: Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by open-mesh.net (Postfix) with ESMTPS id E49B7154249 for ; Tue, 20 Jul 2010 02:24:04 +0200 (CEST) Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o6K0NlNd027991 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 20 Jul 2010 00:23:48 GMT Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o6K0NiZc006287; Tue, 20 Jul 2010 00:23:44 GMT Received: from abhmt014.oracle.com by acsmt353.oracle.com with ESMTP id 440059091279585392; Mon, 19 Jul 2010 17:23:12 -0700 Received: from chimera.site (/173.50.240.230) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 19 Jul 2010 17:23:12 -0700 Date: Mon, 19 Jul 2010 17:23:10 -0700 From: Randy Dunlap To: Stephen Rothwell , Scott Smedley , gregkh@suse.de 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> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; x86_64-unknown-linux-gnu) Mime-Version: 1.0 X-Source-IP: acsmt355.oracle.com [141.146.40.155] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090208.4C44EC93.00FF:SCFMA4539814,ss=1,fgs=0 X-Mailman-Approved-At: Tue, 20 Jul 2010 04:50:14 +0200 Cc: Marek, b.a.t.m.a.n@lists.open-mesh.net, LKML , Simon Wunderlich , linux-next@vger.kernel.org, Lindner Subject: [B.A.T.M.A.N.] [PATCH -next] staging: don't use default init_module/cleanup_module function names X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.11 Precedence: list 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: , X-List-Received-Date: Tue, 20 Jul 2010 00:24:10 -0000 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