]> git.baikalelectronics.ru Git - kernel.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)
commitda903a131aeaf79f80c278fe87d827de179bea4e
tree7ce800956d976529c7af96beb565318fd7920d9b
parent83b1958b76d79674c8699c9e4fccd49f0e9fe82e
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