staging: dgnc: driver.c: Need to include slab.h
authorTushar Behera <tushar.behera@linaro.org>
Thu, 22 Aug 2013 13:24:23 +0000 (18:54 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Aug 2013 17:03:37 +0000 (10:03 -0700)
commit68a5a5f38c2d80f74c946972375983ff85d508bb
tree251f0fbe68d6fb90f765cfbddf4534e2e6cdaf63
parent90d2a47152ae1fde6dc60f7bf9952035bb0e4924
staging: dgnc: driver.c: Need to include slab.h

With 'allyesconfig', we get following error without this.

drivers/staging/dgnc/dgnc_driver.c: In function ‘dgnc_cleanup_board’:
drivers/staging/dgnc/dgnc_driver.c:459:3: error: implicit declaration of function ‘kfree’ [-Werror=implicit-function-declaration]
   kfree(brd->msgbuf_head);
   ^
drivers/staging/dgnc/dgnc_driver.c: In function ‘dgnc_driver_kzmalloc’:
drivers/staging/dgnc/dgnc_driver.c:905:2: error: implicit declaration of function ‘kmalloc’ [-Werror=implicit-function-declaration]
  void *p = kmalloc(size, priority);

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Cc: Lidza Louina <lidza.louina@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_driver.c