From: Wei WANG Date: Tue, 20 Nov 2012 03:24:44 +0000 (+0800) Subject: mmc: rtsx: Explicitely include slab.h in rtsx_pci_sdmmc.c X-Git-Tag: v3.8~297^2~50 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=433e075c7f3b45c946c539ceeddc641c61adef5e;p=platform%2Fkernel%2Flinux-amlogic.git 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 Acked-by: Chris Ball Signed-off-by: Samuel Ortiz --- diff --git a/drivers/mmc/host/rtsx_pci_sdmmc.c b/drivers/mmc/host/rtsx_pci_sdmmc.c index 067dd46..571915d 100644 --- a/drivers/mmc/host/rtsx_pci_sdmmc.c +++ b/drivers/mmc/host/rtsx_pci_sdmmc.c @@ -21,6 +21,7 @@ */ #include +#include #include #include #include