projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bff19b1
)
Input: pc110pad - return proper error
author
Akinobu Mita
<akinobu.mita@gmail.com>
Thu, 21 Dec 2006 05:42:55 +0000
(
00:42
-0500)
committer
Dmitry Torokhov
<dtor@insightbb.com>
Thu, 21 Dec 2006 05:42:55 +0000
(
00:42
-0500)
The driver should return -ENODEV rather than -ENOENT when it
detects a PCI device in the box.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/pc110pad.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/mouse/pc110pad.c
b/drivers/input/mouse/pc110pad.c
index f155c1fea04e3bd2e3181106886782011f3d64e7..05d992e514f0bd5452dc0a6f0c9161b01a01c753 100644
(file)
--- a/
drivers/input/mouse/pc110pad.c
+++ b/
drivers/input/mouse/pc110pad.c
@@
-113,7
+113,7
@@
static int __init pc110pad_init(void)
dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, NULL);
if (dev) {
pci_dev_put(dev);
- return -ENO
ENT
;
+ return -ENO
DEV
;
}
if (!request_region(pc110pad_io, 4, "pc110pad")) {