hwmon: (dell-smm) Restrict fan control and serial number to CAP_SYS_ADMIN by default
[pandora-kernel.git] / drivers / char / scx200_gpio.c
index 99e5272..0bc135b 100644 (file)
@@ -67,6 +67,7 @@ static const struct file_operations scx200_gpio_fileops = {
        .read    = nsc_gpio_read,
        .open    = scx200_gpio_open,
        .release = scx200_gpio_release,
+       .llseek  = no_llseek,
 };
 
 static struct cdev scx200_gpio_cdev;  /* use 1 cdev for all pins */