Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964789AbbEUTJl (ORCPT ); Thu, 21 May 2015 15:09:41 -0400 Received: from mail-wg0-f44.google.com ([74.125.82.44]:33276 "EHLO mail-wg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753683AbbEUTJh (ORCPT ); Thu, 21 May 2015 15:09:37 -0400 Date: Thu, 21 May 2015 21:09:33 +0200 From: Rabin Vincent To: Paul Bolle Cc: linus.walleij@linaro.org, gnurou@gmail.com, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] gpio: add ETRAXFS GPIO driver Message-ID: <20150521190933.GB6159@debian> References: <1431728843-21583-1-git-send-email-rabin@rab.in> <1431784767.2341.28.camel@x220> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1431784767.2341.28.camel@x220> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1157 Lines: 36 On Sat, May 16, 2015 at 03:59:27PM +0200, Paul Bolle wrote: > On Sat, 2015-05-16 at 00:27 +0200, Rabin Vincent wrote: > > +obj-$(CONFIG_GPIO_ETRAXFS) += gpio-etraxfs.o > > GPIO_ETRAXFS is a bool symbol, so gpio-etraxfs.o can only be built-in, > right? Right. > > --- /dev/null > > +++ b/drivers/gpio/gpio-etraxfs.c > > > +MODULE_DEVICE_TABLE(of, etraxfs_gpio_of_table); > > > +module_platform_driver(etraxfs_gpio_driver); > > (A patch was submitted that would allow built-in only code to use > builtin_platform_driver(), see https://lkml.org/lkml/2015/5/10/125 .) Thanks, good to know. > > > +MODULE_DESCRIPTION("ETRAX FS GPIO driver"); > > +MODULE_LICENSE("GPL"); > > But the code this patch adds contains a bit of module specific > boilerplate. Was it perhaps your intention to make GPIO_ETRAXFS > tristate? No, the intention is to have it boolean as it is now. I'll remove the unnecessary lines. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/