git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] openfirmware: generate device table for userspace
[safe/jmp/linux-2.6]
/
include
/
linux
/
mod_devicetable.h
diff --git
a/include/linux/mod_devicetable.h
b/include/linux/mod_devicetable.h
index
9b6d051
..
dce53ac
100644
(file)
--- a/
include/linux/mod_devicetable.h
+++ b/
include/linux/mod_devicetable.h
@@
-174,6
+174,17
@@
struct serio_device_id {
__u8 proto;
};
+/*
+ * Struct used for matching a device
+ */
+struct of_device_id
+{
+ char name[32];
+ char type[32];
+ char compatible[128];
+ void *data;
+};
+
/* PCMCIA */