diff options
Diffstat (limited to 'include/linux/mmc/pm.h')
-rw-r--r-- | include/linux/mmc/pm.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/linux/mmc/pm.h b/include/linux/mmc/pm.h new file mode 100644 index 000000000000..d37aac49cf9a --- /dev/null +++ b/include/linux/mmc/pm.h | |||
@@ -0,0 +1,30 @@ | |||
1 | /* | ||
2 | * linux/include/linux/mmc/pm.h | ||
3 | * | ||
4 | * Author: Nicolas Pitre | ||
5 | * Copyright: (C) 2009 Marvell Technology Group Ltd. | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | ||
11 | |||
12 | #ifndef LINUX_MMC_PM_H | ||
13 | #define LINUX_MMC_PM_H | ||
14 | |||
15 | /* | ||
16 | * These flags are used to describe power management features that | ||
17 | * some cards (typically SDIO cards) might wish to benefit from when | ||
18 | * the host system is being suspended. There are several layers of | ||
19 | * abstractions involved, from the host controller driver, to the MMC core | ||
20 | * code, to the SDIO core code, to finally get to the actual SDIO function | ||
21 | * driver. This file is therefore used for common definitions shared across | ||
22 | * all those layers. | ||
23 | */ | ||
24 | |||
25 | typedef unsigned int mmc_pm_flag_t; | ||
26 | |||
27 | #define MMC_PM_KEEP_POWER (1 << 0) /* preserve card power during suspend */ | ||
28 | #define MMC_PM_WAKE_SDIO_IRQ (1 << 1) /* wake up host system on SDIO IRQ assertion */ | ||
29 | |||
30 | #endif | ||