linux-mips
[Top] [All Lists]

Re: [PATCH 7/8] ssb: add GPIO driver

To: Hauke Mehrtens <hauke@hauke-m.de>
Subject: Re: [PATCH 7/8] ssb: add GPIO driver
From: John Crispin <john@phrozen.org>
Date: Tue, 20 Nov 2012 09:12:28 +0100
Cc: ralf@linux-mips.org, linux-mips@linux-mips.org, linux-wireless@vger.kernel.org, florian@openwrt.org, zajec5@gmail.com, m@bues.ch
In-reply-to: <1353365877-11131-8-git-send-email-hauke@hauke-m.de>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <1353365877-11131-1-git-send-email-hauke@hauke-m.de> <1353365877-11131-8-git-send-email-hauke@hauke-m.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.7) Gecko/20120922 Icedove/10.0.7
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

<Prev in Thread] Current Thread [Next in Thread>