From: Dirk Behme <dirk.behme@googlemail.com>
To: Paul Walmsley <paul@pwsan.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH] include/asm-arm/arch-omap/omap24xx.h
Date: Thu, 25 Oct 2007 17:28:42 +0200 [thread overview]
Message-ID: <4720B62A.1010406@googlemail.com> (raw)
In-Reply-To: <20071025053143.222542615@pwsan.com>
Paul Walmsley wrote:
> Hello Dirk, Luis,
>
> how about the patch (following in the next message) instead? That way
> we don't define OMAP2_CTRL_BASE for non-OMAP2 builds.
Mmh, I like to fix it in include/asm-arm/arch-omap/omap24xx.h, so I
prefer [1].
The issue was introduced by
http://linux.omap.com/pipermail/linux-omap-open-source/2007-August/011159.html
With [1] we
- fix it where it was introduced
- have an additional #ifdef only in a header file instead of
plat-omap/devices.c, which is IMHO better
- fix it for everybody now and in the future who directly or
indirectly includes omap24xx.h.
Regards
Dirk
[1]
http://linux.omap.com/pipermail/linux-omap-open-source/2007-October/011720.html
> - Paul
>>From paul@pwsan.com Wed Oct 24 23:36:10 2007
> Message-Id: <20071025053610.715631084@pwsan.com>
> User-Agent: quilt/0.46-1
> Date: Wed, 24 Oct 2007 23:31:44 -0600
> From: Paul Walmsley <paul@pwsan.com>
> To: lvcargnini@gmail.com,
> dirk.behme@googlemail.com,
> tony@atomide.com
> Cc: linux-omap-open-source@linux.omap.com
> Bcc: <471F868A.3060106@googlemail.com>
> Subject: fix undeclared OMAP2_CTRL_BASE for OMAP MMC driver in OMAP1 compiles
> References: <ae36f8040710240958l579ad5el16f17cb073e25387@mail.gmail.com>
> <471F868A.3060106@googlemail.com>
> <20071025053143.222542615@pwsan.com>
> Content-Disposition: inline; filename=fix_omap2_ctrl_base_mmc_compile_bug.patch
> Replace-Subject: fix undeclared OMAP2_CTRL_BASE for OMAP MMC driver in OMAP1 compiles
>
> Remove reference to OMAP2_CTRL_BASE in arch/arm/plat-omap/devices.c
> if we aren't building for an OMAP2 platform.
>
> Signed-off-by: Paul Walmsley <paul@pwsan.com>
>
> ---
> arch/arm/plat-omap/devices.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> Index: linux-omap/arch/arm/plat-omap/devices.c
> ===================================================================
> --- linux-omap.orig/arch/arm/plat-omap/devices.c 2007-08-29 13:53:47.000000000 -0600
> +++ linux-omap/arch/arm/plat-omap/devices.c 2007-10-24 23:29:51.000000000 -0600
> @@ -339,6 +339,7 @@
> omap_cfg_reg(MMC_DAT3);
> }
> }
> +#if defined(CONFIG_ARCH_OMAP24XX)
> if (mmc->internal_clock) {
> /*
> * Use internal loop-back in MMC/SDIO
> @@ -350,6 +351,7 @@
> omap_writel(v, OMAP2_CONTROL_DEVCONF);
> }
> }
> +#endif
> mmc1_conf = *mmc;
> (void) platform_device_register(&mmc_omap_device1);
> }
>
next prev parent reply other threads:[~2007-10-25 15:28 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-24 16:58 [PATCH] include/asm-arm/arch-omap/omap24xx.h Luís Cargnini
2007-10-24 17:53 ` Dirk Behme
2007-10-25 5:31 ` Paul Walmsley
2007-10-25 5:31 ` fix undeclared OMAP2_CTRL_BASE for OMAP MMC driver in OMAP1 compiles Paul Walmsley
2007-10-25 5:54 ` [PATCH] include/asm-arm/arch-omap/omap24xx.h Luís Cargnini
2007-10-25 15:28 ` Dirk Behme [this message]
2007-10-25 16:00 ` Paul Walmsley
2007-10-31 15:22 ` Tony Lindgren
2007-11-01 8:29 ` Tony Lindgren
2007-11-05 7:57 ` Paul Walmsley
2007-11-05 19:34 ` Dirk Behme
2007-11-06 10:23 ` Paul Walmsley
2007-11-06 12:58 ` Tony Lindgren
2007-11-07 4:21 ` Luís Cargnini
-- strict thread matches above, loose matches on Subject: below --
2007-11-07 4:27 [PATCH]include/asm-arm/arch-omap/omap24xx.h Luís Cargnini
2007-11-15 21:24 ` [PATCH]include/asm-arm/arch-omap/omap24xx.h Tony Lindgren
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=4720B62A.1010406@googlemail.com \
--to=dirk.behme@googlemail.com \
--cc=linux-omap-open-source@linux.omap.com \
--cc=paul@pwsan.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.