Skip to content

Commit 63e1462

Browse files
Anton Vorontsovtorvalds
authored andcommitted
mmc_spi: mmc_spi.h should include linux/interrupts.h
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 <[email protected]> Signed-off-by: Pierre Ossman <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent b09916e commit 63e1462

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/linux/spi/mmc_spi.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef __LINUX_SPI_MMC_SPI_H
22
#define __LINUX_SPI_MMC_SPI_H
33

4+
#include <linux/interrupt.h>
5+
46
struct device;
57
struct mmc_host;
68

0 commit comments

Comments
 (0)