linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: broonie@opensource.wolfsonmicro.com (Mark Brown)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/7] ARM: S3C64XX: Staticise non-exported GPIO to interrupt functions
Date: Thu,  3 Mar 2011 14:58:30 +0000	[thread overview]
Message-ID: <1299164315-22246-2-git-send-email-broonie@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <20110303145710.GA32234@opensource.wolfsonmicro.com>

No need to put these in the global namespace and sparse gets upset.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 arch/arm/mach-s3c64xx/gpiolib.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-s3c64xx/gpiolib.c b/arch/arm/mach-s3c64xx/gpiolib.c
index fd99a82..92b0908 100644
--- a/arch/arm/mach-s3c64xx/gpiolib.c
+++ b/arch/arm/mach-s3c64xx/gpiolib.c
@@ -72,7 +72,7 @@ static struct s3c_gpio_cfg gpio_4bit_cfg_eint0011 = {
 	.get_pull	= s3c_gpio_getpull_updown,
 };
 
-int s3c64xx_gpio2int_gpm(struct gpio_chip *chip, unsigned pin)
+static int s3c64xx_gpio2int_gpm(struct gpio_chip *chip, unsigned pin)
 {
 	return pin < 5 ? IRQ_EINT(23) + pin : -ENXIO;
 }
@@ -138,7 +138,7 @@ static struct s3c_gpio_chip gpio_4bit[] = {
 	},
 };
 
-int s3c64xx_gpio2int_gpl(struct gpio_chip *chip, unsigned pin)
+static int s3c64xx_gpio2int_gpl(struct gpio_chip *chip, unsigned pin)
 {
 	return pin >= 8 ? IRQ_EINT(16) + pin - 8 : -ENXIO;
 }
-- 
1.7.2.3

  parent reply	other threads:[~2011-03-03 14:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-03 14:57 [PATCH 0/7] Various Samsung updates Mark Brown
2011-03-03 14:58 ` [PATCH 1/7] ARM: SAMSUNG: Include devs.h in dev-uart.c to prototype devices Mark Brown
2011-03-03 14:58 ` Mark Brown [this message]
2011-03-03 14:58 ` [PATCH 3/7] ARM: S3C64XX: Add clock for i2c1 Mark Brown
2011-03-03 14:58 ` [PATCH 4/7] ARM: S3C64XX: Tone down SDHCI debugging Mark Brown
2011-03-03 14:58 ` [PATCH 5/7] ARM: S3C64XX: Reduce output of s3c64xx_dma_init1() Mark Brown
2011-03-03 14:58 ` [PATCH 6/7] ARM: SMDK6410: Fix build with WM1190 disabled and WM1192 enabled Mark Brown
2011-03-03 14:58 ` [PATCH 7/7] ARM: SMDK6410: Update regulator names for debugfs compatiblity Mark Brown
2011-03-04  1:39   ` Kukjin Kim
2011-03-04 11:33     ` Mark Brown
2011-03-03 14:59 ` [PATCH 0/7] Various Samsung updates Ben Dooks
2011-03-04  1:33   ` Kukjin Kim

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=1299164315-22246-2-git-send-email-broonie@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.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).