projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gpio: constify gpio_chip structures
[linux-2.6-microblaze.git]
/
drivers
/
gpio
/
gpio-wm8350.c
diff --git
a/drivers/gpio/gpio-wm8350.c
b/drivers/gpio/gpio-wm8350.c
index
e976570
..
e46752e
100644
(file)
--- a/
drivers/gpio/gpio-wm8350.c
+++ b/
drivers/gpio/gpio-wm8350.c
@@
-93,7
+93,7
@@
static int wm8350_gpio_to_irq(struct gpio_chip *chip, unsigned offset)
return wm8350->irq_base + WM8350_IRQ_GPIO(offset);
}
-static struct gpio_chip template_chip = {
+static
const
struct gpio_chip template_chip = {
.label = "wm8350",
.owner = THIS_MODULE,
.direction_input = wm8350_gpio_direction_in,