--- lirc-0.8.3/drivers/kcompat.h 2008/09/01 00:02:20 1.5 +++ lirc-0.8.3/drivers/kcompat.h 2008/09/01 00:15:39 @@ -60,7 +60,8 @@ #else /* >= 2.6.26 */ -#define lirc_device_create device_create +#define lirc_device_create(cs, parent, dev, fmt, args...) \ + device_create_drvdata(cs, parent, dev, NULL, fmt, ## args) #endif /* >= 2.6.26 */