summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/slot-gpio.h
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2014-12-18 15:44:34 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2015-01-19 09:56:17 +0100
commit7f133de1fbe9f496973aaaf22e830433600fa99e (patch)
tree371bdb66533b001210ca7fdb57d5b5cf022cfe4e /drivers/mmc/core/slot-gpio.h
parentb4cc580bb6fcd9f4f86483d566601984febc1d31 (diff)
downloadop-kernel-dev-7f133de1fbe9f496973aaaf22e830433600fa99e.zip
op-kernel-dev-7f133de1fbe9f496973aaaf22e830433600fa99e.tar.gz
mmc: slot-gpio: Make mmc_gpio_alloc() available for MMC core
As a step in moving slot-gpio functions/structs closer to the MMC core, let's add a local header file for slot-gpio. In this initial step we move mmc_gpio_alloc() into the header file, to make it available for the MMC core. Following patches will show the utilization of it. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/slot-gpio.h')
-rw-r--r--drivers/mmc/core/slot-gpio.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/mmc/core/slot-gpio.h b/drivers/mmc/core/slot-gpio.h
new file mode 100644
index 0000000..8c1854d
--- /dev/null
+++ b/drivers/mmc/core/slot-gpio.h
@@ -0,0 +1,13 @@
+/*
+ * Copyright (C) 2014 Linaro Ltd
+ *
+ * Author: Ulf Hansson <ulf.hansson@linaro.org>
+ *
+ * License terms: GNU General Public License (GPL) version 2
+ */
+#ifndef _MMC_CORE_SLOTGPIO_H
+#define _MMC_CORE_SLOTGPIO_H
+
+int mmc_gpio_alloc(struct mmc_host *host);
+
+#endif
OpenPOWER on IntegriCloud