]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/parisc/eisa_eeprom.c
8250_early: coding style
[linux-2.6-omap-h63xx.git] / drivers / parisc / eisa_eeprom.c
index 3a1b4826e5c16b41ba31082cc8f5fc074503833d..86e9c84a965e3e4f815266734c1c030078a3d0c6 100644 (file)
@@ -48,7 +48,7 @@ static loff_t eisa_eeprom_llseek(struct file *file, loff_t offset, int origin )
 }
 
 static ssize_t eisa_eeprom_read(struct file * file,
-                             char *buf, size_t count, loff_t *ppos )
+                             char __user *buf, size_t count, loff_t *ppos )
 {
        unsigned char *tmp;
        ssize_t ret;
@@ -97,7 +97,7 @@ static int eisa_eeprom_release(struct inode *inode, struct file *file)
 /*
  *     The various file operations we support.
  */
-static struct file_operations eisa_eeprom_fops = {
+static const struct file_operations eisa_eeprom_fops = {
        .owner =        THIS_MODULE,
        .llseek =       eisa_eeprom_llseek,
        .read =         eisa_eeprom_read,