From 4a21586bcd9cff345eddffaccf2f421d3ec6dcf3 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Wed, 22 Oct 2008 09:25:05 +0000 Subject: [PATCH] Fix for 2.6.27 kernel: device_create_result_type wasn't defined. --- include/linux/device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/device.h b/include/linux/device.h index 71be1e00..cf71c80f 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -127,9 +127,9 @@ typedef struct device device_create_result_type; #else +typedef struct device device_create_result_type; #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27) -typedef struct device device_create_result_type; #define COMEDI_DEVICE_CREATE(cs, parent, devt, drvdata, device, fmt...) \ device_create_drvdata(cs, ((parent) ? (parent) : (device)), devt, drvdata, fmt) -- 2.26.2