git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hwmon: (adm1021) Strengthen chip detection for ADM1021, LM84 and MAX1617
[pandora-kernel.git]
/
drivers
/
misc
/
fsa9480.c
diff --git
a/drivers/misc/fsa9480.c
b/drivers/misc/fsa9480.c
index
27dc0d2
..
f6586d5
100644
(file)
--- a/
drivers/misc/fsa9480.c
+++ b/
drivers/misc/fsa9480.c
@@
-400,7
+400,8
@@
static int fsa9480_irq_init(struct fsa9480_usbsw *usbsw)
return ret;
}
- device_init_wakeup(&client->dev, pdata->wakeup);
+ if (pdata)
+ device_init_wakeup(&client->dev, pdata->wakeup);
}
return 0;