]> Pileus Git - ~andy/linux/blobdiff - include/linux/mmc/mmc.h
Merge git://git.infradead.org/battery-2.6
[~andy/linux] / include / linux / mmc / mmc.h
index 9fa5a73f393de052a88343f5fd9816839d8ebc00..ac26a685cca8a82e55f2b6eba31ee1321ff70727 100644 (file)
 #define MMC_APP_CMD              55   /* ac   [31:16] RCA        R1  */
 #define MMC_GEN_CMD              56   /* adtc [0] RD/WR          R1  */
 
+static inline bool mmc_op_multi(u32 opcode)
+{
+       return opcode == MMC_WRITE_MULTIPLE_BLOCK ||
+              opcode == MMC_READ_MULTIPLE_BLOCK;
+}
+
 /*
  * MMC_SWITCH argument format:
  *