]> err.no Git - linux-2.6/blobdiff - arch/v850/kernel/rte_cb_leds.c
tcp FRTO: SACK variant is errorneously used with NewReno
[linux-2.6] / arch / v850 / kernel / rte_cb_leds.c
index b662ad838940940eb39585e0443c922de54d5212..aa47ab1dcd87a866cf8ecb54000aef614bf8e70d 100644 (file)
@@ -11,7 +11,6 @@
  * Written by Miles Bader <miles@gnu.org>
  */
 
-#include <linux/config.h>
 #include <linux/init.h>
 #include <linux/spinlock.h>
 #include <linux/fs.h>
@@ -43,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];                    \
                                                                        \
@@ -118,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