summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64/vio.h
diff options
context:
space:
mode:
authorStephen Rothwell2005-08-17 08:42:59 +0200
committerPaul Mackerras2005-08-30 05:31:56 +0200
commitfb120da678c517f72d4b39932062c2191827b331 (patch)
tree0ae6b9d42e0c66293c3cc567f2f8279ca2e89cde /include/asm-ppc64/vio.h
parent[PATCH] Create vio_bus_ops (diff)
downloadkernel-qcow2-linux-fb120da678c517f72d4b39932062c2191827b331.tar.gz
kernel-qcow2-linux-fb120da678c517f72d4b39932062c2191827b331.tar.xz
kernel-qcow2-linux-fb120da678c517f72d4b39932062c2191827b331.zip
[PATCH] Make MODULE_DEVICE_TABLE work for vio devices
Make MODULE_DEVICE_TABLE work for vio devices. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc64/vio.h')
-rw-r--r--include/asm-ppc64/vio.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/asm-ppc64/vio.h b/include/asm-ppc64/vio.h
index 85420bb37d58..03f1b95f433b 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;