MMC: tmio_mmc.h: fix build problem
Subsystems (2)
PATCH 1/1 MMC: tmio_mmc.h: fix build problem
drivers/mmc/host/tmio_mmc.h: In function 'tmio_mmc_kmap_atomic':drivers/mmc/host/tmio_mmc.h:147: error: implicit declaration of function 'kmap_atomic' drivers/mmc/host/tmio_mmc.h:147: error: 'KM_BIO_SRC_IRQ' undeclared (first use in this function) drivers/mmc/host/tmio_mmc.h: In function 'tmio_mmc_kunmap_atomic':drivers/mmc/host/tmio_mmc.h:153: error: implicit declaration of function 'kunmap_atomic' drivers/mmc/host/tmio_mmc.h:153: error: 'KM_BIO_SRC_IRQ' undeclared (first use in this function)
---
drivers/mmc/host/tmio_mmc.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/mmc/host/tmio_mmc.h +3 -0
@@ -8,6 +8,9 @@* published by the Free Software Foundation. * */ + +#include <linux/highmem.h> +#define CNF_CMD 0x04#define CNF_CTL_BASE 0x10#define CNF_INT_PIN 0x3d
Pierre Ossman
AppliedQuoted 9 lines · On Sat, 14 Mar 2009 12:37:47 +0300 Alexander Beregalov <[email protected]>…
drivers/mmc/host/tmio_mmc.h: In function 'tmio_mmc_kmap_atomic':drivers/mmc/host/tmio_mmc.h:147: error: implicit declaration of function 'kmap_atomic'drivers/mmc/host/tmio_mmc.h:147: error: 'KM_BIO_SRC_IRQ' undeclared (first use in this function)drivers/mmc/host/tmio_mmc.h: In function 'tmio_mmc_kunmap_atomic':drivers/mmc/host/tmio_mmc.h:153: error: implicit declaration of function 'kunmap_atomic'drivers/mmc/host/tmio_mmc.h:153: error: 'KM_BIO_SRC_IRQ' undeclared (first use in this function)Signed-off-by Alexander Beregalov <[email protected]>---
Applied, thanks.
Signature · 9 lines
-- Pierre Ossman Linux kernel, MMC maintainer http://www.kernel.org rdesktop, core developer http://www.rdesktop.org WARNING: This correspondence is being monitored by the Swedish government. Make sure your server uses encryption for SMTP traffic and consider using PGP for end-to-end encryption.