summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc64/vio.h6
-rw-r--r--include/linux/mod_devicetable.h7
2 files changed, 7 insertions, 6 deletions
diff --git a/include/asm-ppc64/vio.h b/include/asm-ppc64/vio.h
index 85420bb..03f1b95 100644
--- a/include/asm-ppc64/vio.h
+++ b/include/asm-ppc64/vio.h
@@ -19,6 +19,7 @@
#include <linux/errno.h>
#include <linux/device.h>
#include <linux/dma-mapping.h>
+#include <linux/mod_devicetable.h>
#include <asm/hvcall.h>
#include <asm/scatterlist.h>
@@ -52,11 +53,6 @@ struct vio_dev {
struct device dev;
};
-struct vio_device_id {
- char *type;
- char *compat;
-};
-
struct vio_driver {
struct list_head node;
char *name;
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index 97bbccd..47da39b 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -1,6 +1,6 @@
/*
* Device tables which are exported to userspace via
- * scripts/table2alias.c. You must keep that file in sync with this
+ * scripts/mod/file2alias.c. You must keep that file in sync with this
* header.
*/
@@ -190,6 +190,11 @@ struct of_device_id
#endif
};
+/* VIO */
+struct vio_device_id {
+ char type[32];
+ char compat[32];
+};
/* PCMCIA */
OpenPOWER on IntegriCloud