]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-powerpc/vio.h
Merge branch 'lro'
[linux-2.6-omap-h63xx.git] / include / asm-powerpc / vio.h
index f10f72f24fde10a2ce73c514c6ab01326c838efe..0544ece51761f9236ff3b24cfaa46c0e653d23e9 100644 (file)
@@ -13,6 +13,7 @@
 
 #ifndef _ASM_POWERPC_VIO_H
 #define _ASM_POWERPC_VIO_H
+#ifdef __KERNEL__
 
 #include <linux/config.h>
 #include <linux/init.h>
@@ -55,10 +56,10 @@ struct vio_dev {
 
 struct vio_driver {
        struct list_head node;
-       char *name;
        const struct vio_device_id *id_table;
        int (*probe)(struct vio_dev *dev, const struct vio_device_id *id);
        int (*remove)(struct vio_dev *dev);
+       void (*shutdown)(struct vio_dev *dev);
        unsigned long driver_data;
        struct device_driver driver;
 };
@@ -103,4 +104,5 @@ static inline struct vio_dev *to_vio_dev(struct device *dev)
        return container_of(dev, struct vio_dev, dev);
 }
 
+#endif /* __KERNEL__ */
 #endif /* _ASM_POWERPC_VIO_H */