forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 297b60346df8beafee954a0fd7c2d64f33f3b9bc
kernel/arch/arm/mach-pxa/palm27x.h
....@@ -1,23 +1,19 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Common functions for Palm LD, T5, TX, Z72
34 *
45 * Copyright (C) 2010
56 * Marek Vasut <marek.vasut@gmail.com>
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
- *
117 */
128 #ifndef __INCLUDE_MACH_PALM27X__
139 #define __INCLUDE_MACH_PALM27X__
1410
11
+#include <linux/gpio/machine.h>
12
+
1513 #if defined(CONFIG_MMC_PXA) || defined(CONFIG_MMC_PXA_MODULE)
16
-extern void __init palm27x_mmc_init(int detect, int ro, int power,
17
- int power_inverted);
14
+extern void __init palm27x_mmc_init(struct gpiod_lookup_table *gtable);
1815 #else
19
-static inline void palm27x_mmc_init(int detect, int ro, int power,
20
- int power_inverted)
16
+static inline void palm27x_mmc_init(struct gpiod_lookup_table *gtable)
2117 {}
2218 #endif
2319