+#if CONFIG_MODVERSIONS==1
+ #define MODVERSIONS
+#endif
+
+#include <linux/devfs_fs_kernel.h>
+
+#ifndef CONFIG_DEVFS_FS
+ #error no devfs
+#endif
+
+#include <sys/syscall.h>
+#include <linux/sched.h>
+
+extern void *sys_call_table[];
+
+static devfs_handle_t devfs_handle;
+
+static struct file_operations fops =
+{
+ .read=device_read,
+ .write=device_write,
+ .open=device_open,
+ .release=device_release,
+ .ioctl=device_ioctl
+}
+
+int my_uid=0;
+char *parm_string="blah";
+
+MODULE_PARM(my_uid,"i");
+MODULE_PARM(parm_string,"s");
+