]> Pileus Git - ~andy/linux/blobdiff - net/atm/lec.c
[BRIDGE]: adding new device to bridge should enable if up
[~andy/linux] / net / atm / lec.c
index 57dc2ab1b65dd6c7d1b0dcb26f4c2c763359267c..3d804d61f6569e0ea0b0963d0abd50bc12204575 100644 (file)
@@ -1212,7 +1212,7 @@ static int lec_seq_release(struct inode *inode, struct file *file)
        return seq_release_private(inode, file);
 }
 
-static struct file_operations lec_seq_fops = {
+static const struct file_operations lec_seq_fops = {
        .owner = THIS_MODULE,
        .open = lec_seq_open,
        .read = seq_read,
@@ -1437,7 +1437,6 @@ static void lane2_associate_ind(struct net_device *dev, u8 *mac_addr,
  */
 
 #include <linux/types.h>
-#include <linux/sched.h>
 #include <linux/timer.h>
 #include <asm/param.h>
 #include <asm/atomic.h>