From: Tony Lindgren <tony@atomide.com>
To: David Brownell <david-b@pacbell.net>
Cc: "Gadiyar, Anand" <gadiyar@ti.com>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: Beagle defconfig broken in mainline
Date: Sun, 18 Jan 2009 14:11:46 +0200 [thread overview]
Message-ID: <20090118121141.GE7976@atomide.com> (raw)
In-Reply-To: <200901180357.19705.david-b@pacbell.net>
* David Brownell <david-b@pacbell.net> [090118 13:57]:
> From: David Brownell <dbrownell@users.sourceforge.net>
> Subject: arch/arm/mach-omap2/board-omap3beagle.c buildfix
>
> CC arch/arm/mach-omap2/board-omap3beagle.o
> arch/arm/mach-omap2/board-omap3beagle.c: In function 'beagle_twl_gpio_setup':
> arch/arm/mach-omap2/board-omap3beagle.c:132: error: 'TWL4030_GPIO_MAX' undeclared (first use in this function)
> ... many errors ...
> arch/arm/mach-omap2/board-omap3beagle.c:308: error: 'gpio' undeclared (first use in this function)
> make[1]: *** [arch/arm/mach-omap2/board-omap3beagle.o] Error 1
Similar patch (and other compile fixes) is already queued up via
omap-fixes branch, should get into the mainline within next few days.
Tony
> Reported-by: Anand Gadiyar <gadiyar@ti.com>
> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
> ---
> Against MAINLINE 2.6.29-rc2
>
> arch/arm/mach-omap2/board-omap3beagle.c | 9 +++++----
> 1 file changed, 5 insertions(+), 4 deletions(-)
>
> --- a/arch/arm/mach-omap2/board-omap3beagle.c
> +++ b/arch/arm/mach-omap2/board-omap3beagle.c
> @@ -28,6 +28,8 @@
> #include <linux/mtd/partitions.h>
> #include <linux/mtd/nand.h>
>
> +#include <linux/i2c/twl4030.h>
> +
> #include <mach/hardware.h>
> #include <asm/mach-types.h>
> #include <asm/mach/arch.h>
> @@ -120,6 +122,9 @@ static int beagle_twl_gpio_setup(struct
> unsigned gpio, unsigned ngpio)
> {
> /* gpio + 0 is "mmc0_cd" (input/IRQ) */
> + omap_cfg_reg(AH8_34XX_GPIO29);
> + mmc[0].gpio_cd = gpio + 0;
> + twl4030_mmc_init(mmc);
>
> /* REVISIT: need ehci-omap hooks for external VBUS
> * power switch and overcurrent detect
> @@ -304,10 +309,6 @@ static void __init omap3_beagle_init(voi
> omap_board_config_size = ARRAY_SIZE(omap3_beagle_config);
> omap_serial_init();
>
> - omap_cfg_reg(AH8_34XX_GPIO29);
> - mmc[0].gpio_cd = gpio + 0;
> - twl4030_mmc_init(mmc);
> -
> omap_cfg_reg(J25_34XX_GPIO170);
> gpio_request(170, "DVI_nPD");
> /* REVISIT leave DVI powered down until it's needed ... */
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2009-01-18 12:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-16 15:53 Beagle defconfig broken in mainline Gadiyar, Anand
2009-01-18 11:57 ` David Brownell
2009-01-18 12:11 ` Tony Lindgren [this message]
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=20090118121141.GE7976@atomide.com \
--to=tony@atomide.com \
--cc=david-b@pacbell.net \
--cc=gadiyar@ti.com \
--cc=linux-omap@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 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.