Skip to content

Commit

Permalink
mmc_spi: mmc_spi.h should include linux/interrupts.h
Browse files Browse the repository at this point in the history
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).

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Anton Vorontsov authored and Linus Torvalds committed Jun 2, 2008
1 parent b09916e commit 63e1462
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/spi/mmc_spi.h
Original file line number Diff line number Diff line change
@@ -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;

Expand Down

0 comments on commit 63e1462

Please sign in to comment.