.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Common functions for Palm LD, T5, TX, Z72 |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2010 |
---|
5 | 6 | * 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 | | - * |
---|
11 | 7 | */ |
---|
12 | 8 | #ifndef __INCLUDE_MACH_PALM27X__ |
---|
13 | 9 | #define __INCLUDE_MACH_PALM27X__ |
---|
14 | 10 | |
---|
| 11 | +#include <linux/gpio/machine.h> |
---|
| 12 | + |
---|
15 | 13 | #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); |
---|
18 | 15 | #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) |
---|
21 | 17 | {} |
---|
22 | 18 | #endif |
---|
23 | 19 | |
---|