projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0892186
)
Fix for 2.6.27 kernel: device_create_result_type wasn't defined.
author
Ian Abbott
<abbotti@mev.co.uk>
Wed, 22 Oct 2008 09:25:05 +0000
(09:25 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Wed, 22 Oct 2008 09:25:05 +0000
(09:25 +0000)
include/linux/device.h
patch
|
blob
|
history
diff --git
a/include/linux/device.h
b/include/linux/device.h
index 71be1e001511374d93a6825cafe1fc68651a9059..cf71c80f33f42c6035ef5aa662b27a18352476e8 100644
(file)
--- a/
include/linux/device.h
+++ b/
include/linux/device.h
@@
-127,9
+127,9
@@
typedef struct device device_create_result_type;
#else
+typedef struct device device_create_result_type;
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27)
-typedef struct device device_create_result_type;
#define COMEDI_DEVICE_CREATE(cs, parent, devt, drvdata, device, fmt...) \
device_create_drvdata(cs, ((parent) ? (parent) : (device)), devt, drvdata, fmt)