projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: cfi_cmdset_0001.c: fix resume for LH28F640BF chips
[cascardo/linux.git]
/
drivers
/
hid
/
wacom_sys.c
diff --git
a/drivers/hid/wacom_sys.c
b/drivers/hid/wacom_sys.c
index
3e388ec
..
f0db7ec
100644
(file)
--- a/
drivers/hid/wacom_sys.c
+++ b/
drivers/hid/wacom_sys.c
@@
-1416,6
+1416,7
@@
static void wacom_remove(struct hid_device *hdev)
kfree(wacom);
}
+#ifdef CONFIG_PM
static int wacom_resume(struct hid_device *hdev)
{
struct wacom *wacom = hid_get_drvdata(hdev);
@@
-1436,6
+1437,7
@@
static int wacom_reset_resume(struct hid_device *hdev)
{
return wacom_resume(hdev);
}
+#endif /* CONFIG_PM */
static struct hid_driver wacom_driver = {
.name = "wacom",