summaryrefslogtreecommitdiffstats
path: root/include/sys/sunddi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/sunddi.h')
-rw-r--r--include/sys/sunddi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/sunddi.h b/include/sys/sunddi.h
index a80ae454d..764ae3820 100644
--- a/include/sys/sunddi.h
+++ b/include/sys/sunddi.h
@@ -35,7 +35,7 @@
#include <linux/fs.h>
#include <linux/cdev.h>
#include <linux/list.h>
-#include <linux/device.h>
+#include <spl-device.h>
typedef int ddi_devid_t;
@@ -81,7 +81,7 @@ typedef struct dev_info {
kmutex_t di_lock;
struct dev_ops *di_ops;
struct cdev *di_cdev;
- struct class *di_class;
+ spl_class *di_class;
major_t di_major;
minor_t di_minor;
dev_t di_dev;