mmc: rtsx: Explicitely include slab.h in rtsx_pci_sdmmc.c
authorWei WANG <wei_wang@realsil.com.cn>
Tue, 20 Nov 2012 03:24:44 +0000 (11:24 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 21 Nov 2012 15:07:54 +0000 (16:07 +0100)
commit433e075c7f3b45c946c539ceeddc641c61adef5e
treea0a785a0d6471a4169d4e4b1893a6cb29a591344
parent38d324df75e6642ea6f71bc67765cc5b8c4f751b
mmc: rtsx: Explicitely include slab.h in rtsx_pci_sdmmc.c

This fixes the following build error on some architectures (parisc at least):

drivers/mmc/host/rtsx_pci_sdmmc.c: In function 'sd_normal_rw':
drivers/mmc/host/rtsx_pci_sdmmc.c:448:2: error: implicit
declaration of function 'kzalloc'
[-Werror=implicit-function-declaration]
drivers/mmc/host/rtsx_pci_sdmmc.c:448:6: warning: assignment
makes pointer from integer without a cast [enabled by default]
drivers/mmc/host/rtsx_pci_sdmmc.c:472:2: error: implicit
declaration of function 'kfree'
[-Werror=implicit-function-declaration]

Signed-off-by: Wei WANG <wei_wang@realsil.com.cn>
Acked-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mmc/host/rtsx_pci_sdmmc.c