--- scanner_ui/scanner_ui.c     2009-09-26 13:24:43.000000000 +0200
+++ scanner_ui/scanner_ui.c_NEW 2009-09-26 13:24:50.000000000 +0200
@@ -344,7 +344,7 @@
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12)

 #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,25)
-               device_create_drvdata(portbunny_class, NULL, MKDEV(major, 0), NULL, "portbunny");
+               device_create(portbunny_class, NULL, MKDEV(major, 0), NULL, "portbunny");
 #else
                class_device_create(portbunny_class, NULL, MKDEV(major, 0), NULL, "portbunny");
 #endif