From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 20 Nov 2012 22:07:53 +0100 (CET) Received: from server19320154104.serverpool.info ([193.201.54.104]:44986 "EHLO hauke-m.de" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S6825923Ab2KTVHwm7hZQ (ORCPT ); Tue, 20 Nov 2012 22:07:52 +0100 Received: from localhost (localhost [127.0.0.1]) by hauke-m.de (Postfix) with ESMTP id F12B58F62; Tue, 20 Nov 2012 22:07:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at hauke-m.de Received: from hauke-m.de ([127.0.0.1]) by localhost (hauke-m.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iYuVp2z06hX2; Tue, 20 Nov 2012 22:07:46 +0100 (CET) Received: from [IPv6:2001:470:1f0b:447:6d1e:baeb:418:870b] (unknown [IPv6:2001:470:1f0b:447:6d1e:baeb:418:870b]) by hauke-m.de (Postfix) with ESMTPSA id 404748F60; Tue, 20 Nov 2012 22:07:46 +0100 (CET) Message-ID: <50ABF11E.204@hauke-m.de> Date: Tue, 20 Nov 2012 22:07:42 +0100 From: Hauke Mehrtens User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2 MIME-Version: 1.0 To: John Crispin CC: ralf@linux-mips.org, linux-mips@linux-mips.org, linux-wireless@vger.kernel.org, florian@openwrt.org, zajec5@gmail.com, m@bues.ch Subject: Re: [PATCH 7/8] ssb: add GPIO driver References: <1353365877-11131-1-git-send-email-hauke@hauke-m.de> <1353365877-11131-8-git-send-email-hauke@hauke-m.de> <50AB3B6C.4000505@phrozen.org> In-Reply-To: <50AB3B6C.4000505@phrozen.org> X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-archive-position: 35060 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: hauke@hauke-m.de Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips Return-Path: On 11/20/2012 09:12 AM, John Crispin wrote: > Hi Hauke, > > >> +#ifdef CONFIG_SSB_DRIVER_EXTIF > > ... > >> +} >> + >> +#else >> +static int ssb_gpio_extif_init(struct ssb_bus *bus) >> +{ >> + return 0; >> +} >> +#endif > > ssb_gpio_extif_init() is also defined as a static inline stub in the > header files. you should drop this definition from the code file > > John No, ssb_gpio_extif_init() is only defined in drivers/ssb/driver_gpio.c and not ssb_private.h, ssb_gpio_init() is defined in ssb_private.h. Hauke