Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336361
b: refs/heads/master
c: 167c1af
h: refs/heads/master
i:
  336359: 680ce59
v: v3
  • Loading branch information
Linus Walleij committed Nov 11, 2012
1 parent 516990e commit 097d8ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 165adc9c1734a3f3bdbc6dc7c7a29bbefb424006
refs/heads/master: 167c1af9443757bb9d27ceff8ba4304302cb0651
8 changes: 4 additions & 4 deletions trunk/drivers/gpio/gpiolib-of.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ int of_mm_gpiochip_add(struct device_node *np,
EXPORT_SYMBOL(of_mm_gpiochip_add);

#ifdef CONFIG_PINCTRL
void of_gpiochip_add_pin_range(struct gpio_chip *chip)
static void of_gpiochip_add_pin_range(struct gpio_chip *chip)
{
struct device_node *np = chip->of_node;
struct gpio_pin_range *pin_range;
Expand Down Expand Up @@ -254,7 +254,7 @@ void of_gpiochip_add_pin_range(struct gpio_chip *chip)
} while (index++);
}

void of_gpiochip_remove_pin_range(struct gpio_chip *chip)
static void of_gpiochip_remove_pin_range(struct gpio_chip *chip)
{
struct gpio_pin_range *pin_range, *tmp;

Expand All @@ -265,8 +265,8 @@ void of_gpiochip_remove_pin_range(struct gpio_chip *chip)
}
}
#else
void of_gpiochip_add_pin_range(struct gpio_chip *chip) {}
void of_gpiochip_remove_pin_range(struct gpio_chip *chip) {}
static void of_gpiochip_add_pin_range(struct gpio_chip *chip) {}
static void of_gpiochip_remove_pin_range(struct gpio_chip *chip) {}
#endif

void of_gpiochip_add(struct gpio_chip *chip)
Expand Down

0 comments on commit 097d8ee

Please sign in to comment.