public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MMC: tmio_mmc.h: fix build problem
@ 2009-03-14  9:37 Alexander Beregalov
  2009-03-16 18:48 ` Pierre Ossman
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Beregalov @ 2009-03-14  9:37 UTC (permalink / raw)
  To: drzeus-mmc, linux-kernel

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 <a.beregalov@gmail.com>
---

 drivers/mmc/host/tmio_mmc.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h
index ba2b424..9c831ab 100644
--- a/drivers/mmc/host/tmio_mmc.h
+++ b/drivers/mmc/host/tmio_mmc.h
@@ -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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] MMC: tmio_mmc.h: fix build problem
  2009-03-14  9:37 [PATCH] MMC: tmio_mmc.h: fix build problem Alexander Beregalov
@ 2009-03-16 18:48 ` Pierre Ossman
  0 siblings, 0 replies; 2+ messages in thread
From: Pierre Ossman @ 2009-03-16 18:48 UTC (permalink / raw)
  To: Alexander Beregalov; +Cc: linux-kernel

On Sat, 14 Mar 2009 12:37:47 +0300
Alexander Beregalov <a.beregalov@gmail.com> wrote:

> 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 <a.beregalov@gmail.com>
> ---

Applied, thanks.

-- 
     -- 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-16 18:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-14  9:37 [PATCH] MMC: tmio_mmc.h: fix build problem Alexander Beregalov
2009-03-16 18:48 ` Pierre Ossman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox