]> git.baikalelectronics.ru Git - kernel.git/commit
ptp_pch: Add missing #include <linux/slab.h>
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 16 May 2012 01:50:17 +0000 (01:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2012 18:44:44 +0000 (14:44 -0400)
commitebf0353c799a0341ddf66c4d1e2091cf65b34c67
tree2b6c01510058a3c788a5c385587f787e7c3884dc
parent1f774f7f0b51b3faeb04157f8cef4e2d6f6b6641
ptp_pch: Add missing #include <linux/slab.h>

drivers/ptp/ptp_pch.c: In function 'pch_remove':
drivers/ptp/ptp_pch.c:576:2: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration]
drivers/ptp/ptp_pch.c: In function 'pch_probe':
drivers/ptp/ptp_pch.c:587:2: error: implicit declaration of function 'kzalloc' [-Werror=implicit-function-declaration]

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_pch.c