Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187409
b: refs/heads/master
c: 46f2b47
h: refs/heads/master
i:
  187407: b663fad
v: v3
  • Loading branch information
Mark Brown authored and Ben Dooks committed Jan 21, 2010
1 parent f2c2166 commit 24acf5f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8dcdd6e6bb09ba1915668b45a0ee730e820d0de1
refs/heads/master: 46f2b478b21bdb5bb588317c971a77df13702660
16 changes: 9 additions & 7 deletions trunk/arch/arm/plat-samsung/gpiolib.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
* the output.
*/

int samsung_gpiolib_4bit_input(struct gpio_chip *chip, unsigned int offset)
static int samsung_gpiolib_4bit_input(struct gpio_chip *chip,
unsigned int offset)
{
struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
void __iomem *base = ourchip->base;
Expand All @@ -59,8 +60,8 @@ int samsung_gpiolib_4bit_input(struct gpio_chip *chip, unsigned int offset)
return 0;
}

int samsung_gpiolib_4bit_output(struct gpio_chip *chip,
unsigned int offset, int value)
static int samsung_gpiolib_4bit_output(struct gpio_chip *chip,
unsigned int offset, int value)
{
struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
void __iomem *base = ourchip->base;
Expand Down Expand Up @@ -106,9 +107,10 @@ int samsung_gpiolib_4bit_output(struct gpio_chip *chip,
* To allow us to use the s3c_gpiolib_get and s3c_gpiolib_set routines we
* store the 'base + 0x4' address so that these routines see the data
* register at ourchip->base + 0x04.
*/
*/

int samsung_gpiolib_4bit2_input(struct gpio_chip *chip, unsigned int offset)
static int samsung_gpiolib_4bit2_input(struct gpio_chip *chip,
unsigned int offset)
{
struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
void __iomem *base = ourchip->base;
Expand All @@ -129,8 +131,8 @@ int samsung_gpiolib_4bit2_input(struct gpio_chip *chip, unsigned int offset)
return 0;
}

int samsung_gpiolib_4bit2_output(struct gpio_chip *chip,
unsigned int offset, int value)
static int samsung_gpiolib_4bit2_output(struct gpio_chip *chip,
unsigned int offset, int value)
{
struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
void __iomem *base = ourchip->base;
Expand Down

0 comments on commit 24acf5f

Please sign in to comment.