From: Rostislav Lisovy Date: Thu, 2 Aug 2012 14:06:18 +0000 (+0200) Subject: sllin: Minor fixes to properly compile on 3.5 linux kernel X-Git-Url: http://rtime.felk.cvut.cz/gitweb/linux-lin.git/commitdiff_plain/e01b4dbee54c4c46afe5513871e9fd70c846be34 sllin: Minor fixes to properly compile on 3.5 linux kernel --- diff --git a/sllin/sllin.c b/sllin/sllin.c index dc30884..45b98ea 100644 --- a/sllin/sllin.c +++ b/sllin/sllin.c @@ -46,7 +46,6 @@ #include #include -#include #include #include #include @@ -80,7 +79,7 @@ MODULE_AUTHOR("Pavel Pisa "); #define SLLIN_MAGIC 0x53CA /* #define BREAK_BY_BAUD */ -static int master = true; +static bool master = true; static int baudrate; /* Use LIN_DEFAULT_BAUDRATE when not set */ module_param(master, bool, 0); @@ -445,7 +444,7 @@ static void sll_setup(struct net_device *dev) /* New-style flags. */ dev->flags = IFF_NOARP; - dev->features = NETIF_F_NO_CSUM; + dev->features = NETIF_F_HW_CSUM; /* NETIF_F_NO_CSUM;*/ } /******************************************