From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] sh: Rework sh7720 GPIO header usage
Date: Tue, 30 Sep 2008 06:40:05 +0000 [thread overview]
Message-ID: <20080930064005.GA9926@linux-sh.org> (raw)
In-Reply-To: <20080929104626.5354.80315.sendpatchset@rx1.opensource.se>
On Tue, Sep 30, 2008 at 08:27:24AM +0200, Mark Jonas wrote:
> Magnus,
>
> > --- 0001/arch/sh/include/asm/gpio.h
> > +++ work/arch/sh/include/asm/gpio.h 2008-09-29 15:31:10.000000000 +0900
> > @@ -1,10 +1,6 @@
> > /*
> > * include/asm-sh/gpio.h
> > *
> > - * Copyright (C) 2007 Markus Brunner, Mark Jonas
> > - *
> > - * Addresses for the Pin Function Controller
> > - *
> > * This file is subject to the terms and conditions of the GNU General Public
> > * License. See the file "COPYING" in the main directory of this archive
> > * for more details.
> > @@ -12,8 +8,4 @@
> > #ifndef __ASM_SH_GPIO_H
> > #define __ASM_SH_GPIO_H
> >
> > -#if defined(CONFIG_CPU_SH3)
> > -#include <cpu/gpio.h>
> > -#endif
> > -
> > #endif /* __ASM_SH_GPIO_H */
>
> This is most likely a stupid question but still:
> Now that arch/sh/include/asm/gpio.h is completely empty from the
> compiler's POV, why wasn't simply deleted?
>
It was just in this patch, the subsequent patches added back to it.
Anyways, I've dropped that, and simply merged the subsequent patches
around the ifdef. There isn't any breakage for your platform, but you may
wish to look in to what it would take to get magicpanelr2 converted to
the generic framework.
next prev parent reply other threads:[~2008-09-30 6:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-29 10:46 [PATCH] sh: Rework sh7720 GPIO header usage Magnus Damm
2008-09-29 11:17 ` Paul Mundt
2008-09-29 11:20 ` Paul Mundt
2008-09-30 6:27 ` Mark Jonas
2008-09-30 6:40 ` Paul Mundt [this message]
2008-09-30 9:31 ` Magnus Damm
2008-09-30 18:25 ` Mark Jonas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080930064005.GA9926@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox