* [PATCH 2/2] ARM: pxa: delete the custom GPIO header
@ 2013-09-26 8:11 Linus Walleij
2013-11-15 12:45 ` Russell King - ARM Linux
0 siblings, 1 reply; 3+ messages in thread
From: Linus Walleij @ 2013-09-26 8:11 UTC (permalink / raw)
To: linux-gpio, Haojian Zhuang
Cc: Alexandre Courbot, linux-arm-kernel, Linus Walleij, Eric Miao,
Russell King
The PXA sub-architecture appears to have a custom <mach/gpio.h>
for no reason whatsoever. The file became completely empty
after Haojian removed the remaining content in
commit 157d2644cb0c1e71a18baaffca56d2b1d0ebf10f
"ARM: pxa: change gpio to platform device".
That commit added these two lines:
However it seems like deleting the file has no effect
whatsoever on the kernel compilation.
Cc: Haojian Zhuang <haojian.zhuang@marvell.com>
Cc: Eric Miao <eric.y.miao@gmail.com>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Haojian et al, I'm seeking an ACK for this patch so I can take it
through the GPIO tree.
---
arch/arm/Kconfig | 1 -
arch/arm/mach-pxa/include/mach/gpio.h | 32 --------------------------------
2 files changed, 33 deletions(-)
delete mode 100644 arch/arm/mach-pxa/include/mach/gpio.h
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 3950a12..1ced444 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -621,7 +621,6 @@ config ARCH_PXA
select GPIO_PXA
select HAVE_IDE
select MULTI_IRQ_HANDLER
- select NEED_MACH_GPIO_H
select PLAT_PXA
select SPARSE_IRQ
help
diff --git a/arch/arm/mach-pxa/include/mach/gpio.h b/arch/arm/mach-pxa/include/mach/gpio.h
deleted file mode 100644
index 0248e43..0000000
--- a/arch/arm/mach-pxa/include/mach/gpio.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * arch/arm/mach-pxa/include/mach/gpio.h
- *
- * PXA GPIO wrappers for arch-neutral GPIO calls
- *
- * Written by Philipp Zabel <philipp.zabel@gmail.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- */
-
-#ifndef __ASM_ARCH_PXA_GPIO_H
-#define __ASM_ARCH_PXA_GPIO_H
-
-#include <asm-generic/gpio.h>
-
-#include <mach/irqs.h>
-#include <mach/hardware.h>
-
-#endif
--
1.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 2/2] ARM: pxa: delete the custom GPIO header
2013-09-26 8:11 [PATCH 2/2] ARM: pxa: delete the custom GPIO header Linus Walleij
@ 2013-11-15 12:45 ` Russell King - ARM Linux
2013-11-18 10:23 ` Linus Walleij
0 siblings, 1 reply; 3+ messages in thread
From: Russell King - ARM Linux @ 2013-11-15 12:45 UTC (permalink / raw)
To: Linus Walleij
Cc: linux-gpio, Haojian Zhuang, Alexandre Courbot, linux-arm-kernel,
Eric Miao
On Thu, Sep 26, 2013 at 10:11:17AM +0200, Linus Walleij wrote:
> The PXA sub-architecture appears to have a custom <mach/gpio.h>
> for no reason whatsoever. The file became completely empty
> after Haojian removed the remaining content in
> commit 157d2644cb0c1e71a18baaffca56d2b1d0ebf10f
> "ARM: pxa: change gpio to platform device".
>
> That commit added these two lines:
>
> However it seems like deleting the file has no effect
> whatsoever on the kernel compilation.
This has broken pxa25x_udc - it seems that it was using this path to get
hold of mach/hardware.h, and now that it doesn't have that, it gets lots
of build errors.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 2/2] ARM: pxa: delete the custom GPIO header
2013-11-15 12:45 ` Russell King - ARM Linux
@ 2013-11-18 10:23 ` Linus Walleij
0 siblings, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2013-11-18 10:23 UTC (permalink / raw)
To: Russell King - ARM Linux
Cc: linux-gpio@vger.kernel.org, Haojian Zhuang, Alexandre Courbot,
linux-arm-kernel@lists.infradead.org, Eric Miao
On Fri, Nov 15, 2013 at 1:45 PM, Russell King - ARM Linux
<linux@arm.linux.org.uk> wrote:
> On Thu, Sep 26, 2013 at 10:11:17AM +0200, Linus Walleij wrote:
>> The PXA sub-architecture appears to have a custom <mach/gpio.h>
>> for no reason whatsoever. The file became completely empty
>> after Haojian removed the remaining content in
>> commit 157d2644cb0c1e71a18baaffca56d2b1d0ebf10f
>> "ARM: pxa: change gpio to platform device".
>>
>> That commit added these two lines:
>>
>> However it seems like deleting the file has no effect
>> whatsoever on the kernel compilation.
>
> This has broken pxa25x_udc - it seems that it was using this path to get
> hold of mach/hardware.h, and now that it doesn't have that, it gets lots
> of build errors.
OK I'm onto it.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-18 10:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-26 8:11 [PATCH 2/2] ARM: pxa: delete the custom GPIO header Linus Walleij
2013-11-15 12:45 ` Russell King - ARM Linux
2013-11-18 10:23 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).