linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: kgene.kim@samsung.com (Kukjin Kim)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] samsung: Add missing include guard to gpio-core.h
Date: Mon, 10 Dec 2012 10:53:09 +0900	[thread overview]
Message-ID: <032201cdd679$1afe4230$50fac690$%kim@samsung.com> (raw)
In-Reply-To: <1354749432-6028-1-git-send-email-spang@chromium.org>

Michael Spang wrote:
> 
> Signed-off-by: Michael Spang <spang@chromium.org>
> ---
>  arch/arm/plat-samsung/include/plat/gpio-core.h |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/plat-samsung/include/plat/gpio-core.h
> b/arch/arm/plat-samsung/include/plat/gpio-core.h
> index 1fe6917..8622c9a 100644
> --- a/arch/arm/plat-samsung/include/plat/gpio-core.h
> +++ b/arch/arm/plat-samsung/include/plat/gpio-core.h
> @@ -11,6 +11,9 @@
>   * published by the Free Software Foundation.
>  */
> 
> +#ifndef __PLAT_SAMSUNG_GPIO_CORE_H
> +#define __PLAT_SAMSUNG_GPIO_CORE_H
> +
>  #define GPIOCON_OFF	(0x00)
>  #define GPIODAT_OFF	(0x04)
> 
> @@ -122,3 +125,5 @@ extern struct samsung_gpio_pm samsung_gpio_pm_4bit;
>  /* locking wrappers to deal with multiple access to the same gpio bank */
>  #define samsung_gpio_lock(_oc, _fl) spin_lock_irqsave(&(_oc)->lock, _fl)
>  #define samsung_gpio_unlock(_oc, _fl)
spin_unlock_irqrestore(&(_oc)->lock,
> _fl)
> +
> +#endif /* __PLAT_SAMSUNG_GPIO_CORE_H */
> --
> 1.7.7.3

Applied, thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

      reply	other threads:[~2012-12-10  1:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-05 23:17 [PATCH] samsung: Add missing include guard to gpio-core.h Michael Spang
2012-12-10  1:53 ` Kukjin Kim [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='032201cdd679$1afe4230$50fac690$%kim@samsung.com' \
    --to=kgene.kim@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).