From: Tony Lindgren <tony@atomide.com>
To: Kyungmin Park <kyungmin.park@samsung.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH] ARM: OMAP: Make dummy wrapper if the OMAP_GPIO_SWITCH is not set
Date: Fri, 30 Nov 2007 16:06:16 -0800 [thread overview]
Message-ID: <20071201000616.GM7498@atomide.com> (raw)
In-Reply-To: <20071129080137.GA1395@party>
* Kyungmin Park <kyungmin.park@samsung.com> [071129 00:02]:
> OMAP_GPIO_SIWTCH is optional, so omap_reister_gpio_switches will be null.
>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> ---
> diff --git a/include/asm-arm/arch-omap/gpio-switch.h b/include/asm-arm/arch-omap/gpio-switch.h
> index 10da0e0..a143253 100644
> --- a/include/asm-arm/arch-omap/gpio-switch.h
> +++ b/include/asm-arm/arch-omap/gpio-switch.h
> @@ -48,7 +48,11 @@ struct omap_gpio_switch {
> };
>
> /* Call at init time only */
> +#ifdef CONFIG_OMAP_GPIO_SWITCH
> extern void omap_register_gpio_switches(const struct omap_gpio_switch *tbl,
> int count);
> +#else
> +#define omap_register_gpio_switches(tbl, count) do { } while (0)
> +#endif
>
> #endif
Pushing today.
Tony
prev parent reply other threads:[~2007-12-01 0:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-29 8:01 [PATCH] ARM: OMAP: Make dummy wrapper if the OMAP_GPIO_SWITCH is not set Kyungmin Park
2007-12-01 0:06 ` 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=20071201000616.GM7498@atomide.com \
--to=tony@atomide.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-omap-open-source@linux.omap.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.