Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101669
b: refs/heads/master
c: d14b3dd
h: refs/heads/master
i:
  101667: 05fcab7
v: v3
  • Loading branch information
Anton Vorontsov authored and Kumar Gala committed Jun 26, 2008
1 parent 799583c commit 3842119
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 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: 2308c954f55eae9f165a5a59bbdb0a0c586afe5a
refs/heads/master: d14b3dd6190af7ce4f88be68f8df828af6d44584
5 changes: 4 additions & 1 deletion trunk/arch/powerpc/sysdev/qe_lib/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*/

#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/io.h>
#include <linux/of.h>
Expand Down Expand Up @@ -102,7 +103,7 @@ static int qe_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val)
return 0;
}

void __init qe_add_gpiochips(void)
static int __init qe_add_gpiochips(void)
{
struct device_node *np;

Expand Down Expand Up @@ -143,4 +144,6 @@ void __init qe_add_gpiochips(void)
kfree(qe_gc);
/* try others anyway */
}
return 0;
}
arch_initcall(qe_add_gpiochips);
1 change: 0 additions & 1 deletion trunk/include/asm-powerpc/qe.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ struct qe_pio_regs {
#endif
};

extern void __init qe_add_gpiochips(void);
extern int par_io_init(struct device_node *np);
extern int par_io_of_config(struct device_node *np);
#define QE_PIO_DIR_IN 2
Expand Down

0 comments on commit 3842119

Please sign in to comment.