Message ID | 1346279496-26286-4-git-send-email-robherring2@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, Aug 29, 2012 at 05:31:29PM -0500, Rob Herring wrote: > From: Rob Herring <rob.herring@calxeda.com> > > In preparation to remove implicit inclusion of mach/gpio.h, add explicit > include of mach/gpio.h. Definitely NAK. What is in the Atmel mach/gpio.h has hardly anything to do with the gpio subsystem (it's more a private gpio implementation). It should be renamed as such to make it clear (and so it doesn't trigger my sanity filtering.)
On 08/29/2012 06:37 PM, Russell King - ARM Linux wrote: > On Wed, Aug 29, 2012 at 05:31:29PM -0500, Rob Herring wrote: >> From: Rob Herring <rob.herring@calxeda.com> >> >> In preparation to remove implicit inclusion of mach/gpio.h, add explicit >> include of mach/gpio.h. > > Definitely NAK. > > What is in the Atmel mach/gpio.h has hardly anything to do with the > gpio subsystem (it's more a private gpio implementation). It should > be renamed as such to make it clear (and so it doesn't trigger my > sanity filtering.) Jean-Christophe, Does your gpio clean-up address this? Rob
On 17:31 Wed 29 Aug , Rob Herring wrote: > From: Rob Herring <rob.herring@calxeda.com> > > In preparation to remove implicit inclusion of mach/gpio.h, add explicit > include of mach/gpio.h. > > Signed-off-by: Rob Herring <rob.herring@calxeda.com> > Cc: Nicolas Ferre <nicolas.ferre@atmel.com> > Cc: Alan Cox <alan@linux.intel.com> no you do not fix the right way we need to use the gpio lig in this driver Best Regards, J.
On 22:00 Thu 30 Aug , Rob Herring wrote: > On 08/29/2012 06:37 PM, Russell King - ARM Linux wrote: > > On Wed, Aug 29, 2012 at 05:31:29PM -0500, Rob Herring wrote: > >> From: Rob Herring <rob.herring@calxeda.com> > >> > >> In preparation to remove implicit inclusion of mach/gpio.h, add explicit > >> include of mach/gpio.h. > > > > Definitely NAK. > > > > What is in the Atmel mach/gpio.h has hardly anything to do with the > > gpio subsystem (it's more a private gpio implementation). It should > > be renamed as such to make it clear (and so it doesn't trigger my > > sanity filtering.) > > Jean-Christophe, Does your gpio clean-up address this? yes I've a patch series on my local tree that cleanup this on at91 we do not need the include/mach/gpio.h and I do plan to drop most of the stuff in it Best Regards, J.
diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index 3d7e1ee..c799001 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c @@ -48,7 +48,7 @@ #ifdef CONFIG_ARM #include <mach/cpu.h> -#include <asm/gpio.h> +#include <mach/gpio.h> #endif #define PDC_BUFFER_SIZE 512