]> Pileus Git - ~andy/linux/blobdiff - arch/v850/kernel/rte_cb_leds.c
UML: make several more things static
[~andy/linux] / arch / v850 / kernel / rte_cb_leds.c
index f654088b27600098d89cab8afe0714f5a10aa645..aa47ab1dcd87a866cf8ecb54000aef614bf8e70d 100644 (file)
@@ -42,7 +42,7 @@ do {                                                                  \
                        len = LED_NUM_DIGITS - pos;                     \
                                                                        \
                if (len > 0) {                                          \
-                       int _flags;                                     \
+                       unsigned long _flags;                           \
                        const char *_end = buf + len;                   \
                        img_decl = &leds_image[pos];                    \
                                                                        \
@@ -117,7 +117,7 @@ static loff_t leds_dev_lseek (struct file *file, loff_t offs, int whence)
        return 0;
 }
 
-static struct file_operations leds_fops = {
+static const struct file_operations leds_fops = {
        .read           = leds_dev_read,
        .write          = leds_dev_write,
        .llseek         = leds_dev_lseek