]> git.karo-electronics.de Git - mv-sheeva.git/commit
can: softing_cs needs slab.h
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 9 Feb 2011 20:43:38 +0000 (12:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Feb 2011 20:43:38 +0000 (12:43 -0800)
commit69e6ed186009ce86cbf5da95f45227064134d694
tree7ce800956d976529c7af96beb565318fd7920d9b
parentae0935776c3c7f4c99d0b3909755fe0896277d0e
can: softing_cs needs slab.h

From: Randy Dunlap <randy.dunlap@oracle.com>

softing_cs.c uses kzalloc & kfree, so it needs to include linux/slab.h.

drivers/net/can/softing/softing_cs.c:234: error: implicit declaration of function 'kfree'
drivers/net/can/softing/softing_cs.c:271: error: implicit declaration of function 'kzalloc'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/softing/softing_cs.c