Skip to content

Commit

Permalink
mmc: sdhci: merge two sdhci-pltfm.h into one
Browse files Browse the repository at this point in the history
The structure sdhci_pltfm_data is not necessarily to be in a public
header like include/linux/mmc/sdhci-pltfm.h, so the patch moves it
into drivers/mmc/host/sdhci-pltfm.h and eliminates the former one.

Signed-off-by: Shawn Guo <[email protected]>
Reviewed-by: Grant Likely <[email protected]>
Reviewed-by: Wolfram Sang <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
  • Loading branch information
shawnguo2 authored and cjb committed Jul 20, 2011
1 parent 38576af commit 94cc6a8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 32 deletions.
1 change: 0 additions & 1 deletion drivers/mmc/host/sdhci-cns3xxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/mmc/host.h>
#include <linux/mmc/sdhci-pltfm.h>
#include <mach/cns3xxx.h>
#include "sdhci.h"
#include "sdhci-pltfm.h"
Expand Down
1 change: 0 additions & 1 deletion drivers/mmc/host/sdhci-esdhc-imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <linux/gpio.h>
#include <linux/slab.h>
#include <linux/mmc/host.h>
#include <linux/mmc/sdhci-pltfm.h>
#include <linux/mmc/mmc.h>
#include <linux/mmc/sdio.h>
#include <mach/hardware.h>
Expand Down
6 changes: 5 additions & 1 deletion drivers/mmc/host/sdhci-pltfm.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@
#include <linux/clk.h>
#include <linux/types.h>
#include <linux/platform_device.h>
#include <linux/mmc/sdhci-pltfm.h>
#include <linux/mmc/sdhci.h>

struct sdhci_pltfm_data {
struct sdhci_ops *ops;
unsigned int quirks;
};

struct sdhci_pltfm_host {
struct clk *clk;
void *priv; /* to handle quirks across io-accessor calls */
Expand Down
29 changes: 0 additions & 29 deletions include/linux/mmc/sdhci-pltfm.h

This file was deleted.

0 comments on commit 94cc6a8

Please sign in to comment.