The definitions of MMC_IOC_CMD and of MMC_IOC_MULTI_CMD rely on MMC_BLOCK_MAJOR: #define MMC_IOC_CMD _IOWR(MMC_BLOCK_MAJOR, 0, struct mmc_ioc_cmd) #define MMC_IOC_MULTI_CMD _IOWR(MMC_BLOCK_MAJOR, 1, struct mmc_ioc_multi_cmd) However, MMC_BLOCK_MAJOR is defined in linux/major.h and linux/mmc/ioctl.h did not include it.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -3,6 +3,7 @@ · 2 unmodified lines | ||
| 3 | 3 | #define LINUX_MMC_IOCTL_H |
| 4 | 4 | |
| 5 | 5 | #include <linux/types.h> |
| 6 | +#include <linux/major.h> | |
| 6 | 7 | |
| 7 | 8 | struct mmc_ioc_cmd { |
| 8 | 9 | /* |