Skip to contentSkip to conversation

mmc_spi: mmc_spi.h should include linux/interrupts.h

PATCH New Pierre Ossman 1 participant 1 message Jun 1, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc_spi: mmc_spi.h should include linux/interrupts.h

From: Anton Vorontsov <[email protected]>

Since mmc_spi.h uses irqreturn_t type, it should include appropriate header, otherwise build will break if users didn't include it (some of them do not use interrupts).

---
 include/linux/spi/mmc_spi.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
include/linux/spi/mmc_spi.h +2 -0
index e9bbe3e..d5ca78b 100644
@@ -1,6 +1,8 @@
 #ifndef __LINUX_SPI_MMC_SPI_H
 #define __LINUX_SPI_MMC_SPI_H
 
+#include <linux/interrupt.h>
+
 struct device;
 struct mmc_host;
 
Signature · 8 lines
1.5.5.1


-- 
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  rdesktop, core developer          http://www.rdesktop.org