git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
arch
/
powerpc
/
platforms
/
powermac
/
pfunc_base.c
diff --git
a/arch/powerpc/platforms/powermac/pfunc_base.c
b/arch/powerpc/platforms/powermac/pfunc_base.c
index
aacfa59
..
5c6c15c
100644
(file)
--- a/
arch/powerpc/platforms/powermac/pfunc_base.c
+++ b/
arch/powerpc/platforms/powermac/pfunc_base.c
@@
-15,7
+15,7
@@
#define DBG(fmt...)
#endif
#define DBG(fmt...)
#endif
-static irqreturn_t macio_gpio_irq(int irq, void *data
, struct pt_regs *regs
)
+static irqreturn_t macio_gpio_irq(int irq, void *data)
{
pmf_do_irq(data);
{
pmf_do_irq(data);
@@
-114,7
+114,7
@@
static void macio_gpio_init_one(struct macio_chip *macio)
* we just create them all
*/
for (gp = NULL; (gp = of_get_next_child(gparent, gp)) != NULL;) {
* we just create them all
*/
for (gp = NULL; (gp = of_get_next_child(gparent, gp)) != NULL;) {
-
u32 *reg = (u32 *)
get_property(gp, "reg", NULL);
+
const u32 *reg =
get_property(gp, "reg", NULL);
unsigned long offset;
if (reg == NULL)
continue;
unsigned long offset;
if (reg == NULL)
continue;