sdhci-pltfm.c (03231f9b781f24205c0af0398ce3cbef70090939) sdhci-pltfm.c (1771059cf5f9c09e37ef6315df8acf120f2642fc)
1/*
2 * sdhci-pltfm.c Support for SDHCI platform devices
3 * Copyright (c) 2009 Intel Corporation
4 *
5 * Copyright (c) 2007, 2011 Freescale Semiconductor, Inc.
6 * Copyright (c) 2009 MontaVista Software, Inc.
7 *
8 * Authors: Xiaobo Xie <X.Xie@freescale.com>

--- 31 unchanged lines hidden (view full) ---

40{
41 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
42
43 return clk_get_rate(pltfm_host->clk);
44}
45EXPORT_SYMBOL_GPL(sdhci_pltfm_clk_get_max_clock);
46
47static const struct sdhci_ops sdhci_pltfm_ops = {
1/*
2 * sdhci-pltfm.c Support for SDHCI platform devices
3 * Copyright (c) 2009 Intel Corporation
4 *
5 * Copyright (c) 2007, 2011 Freescale Semiconductor, Inc.
6 * Copyright (c) 2009 MontaVista Software, Inc.
7 *
8 * Authors: Xiaobo Xie <X.Xie@freescale.com>

--- 31 unchanged lines hidden (view full) ---

40{
41 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
42
43 return clk_get_rate(pltfm_host->clk);
44}
45EXPORT_SYMBOL_GPL(sdhci_pltfm_clk_get_max_clock);
46
47static const struct sdhci_ops sdhci_pltfm_ops = {
48 .set_clock = sdhci_set_clock,
48 .set_bus_width = sdhci_set_bus_width,
49 .reset = sdhci_reset,
50};
51
52#ifdef CONFIG_OF
53static bool sdhci_of_wp_inverted(struct device_node *np)
54{
55 if (of_get_property(np, "sdhci,wp-inverted", NULL) ||

--- 225 unchanged lines hidden ---
49 .set_bus_width = sdhci_set_bus_width,
50 .reset = sdhci_reset,
51};
52
53#ifdef CONFIG_OF
54static bool sdhci_of_wp_inverted(struct device_node *np)
55{
56 if (of_get_property(np, "sdhci,wp-inverted", NULL) ||

--- 225 unchanged lines hidden ---