summaryrefslogtreecommitdiff
path: root/drivers/mfd/t7l66xb.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2009-06-15 17:43:31 +0400
committerSamuel Ortiz <sameol@linux.intel.com>2009-06-17 21:41:52 +0400
commit4d3792e054f706f73837769a0e5607b3b7ad25a2 (patch)
tree42545bf01207d599ed531d2025156fe6114997c1 /drivers/mfd/t7l66xb.c
parent09f05ce8512c9873bda7f76273708753fdc5c698 (diff)
downloadlinux-4d3792e054f706f73837769a0e5607b3b7ad25a2.tar.xz
mfd: fix tmio related warnings
We can not have .driver_data as const since platform_set_drvdata() doesnt take a const. The hclk mmc_data field can be const though. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/t7l66xb.c')
-rw-r--r--drivers/mfd/t7l66xb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/t7l66xb.c b/drivers/mfd/t7l66xb.c
index 875f7a875734..0a255c1f1ce7 100644
--- a/drivers/mfd/t7l66xb.c
+++ b/drivers/mfd/t7l66xb.c
@@ -108,7 +108,7 @@ static int t7l66xb_mmc_disable(struct platform_device *mmc)
/*--------------------------------------------------------------------------*/
-static const struct tmio_mmc_data t7166xb_mmc_data = {
+static struct tmio_mmc_data t7166xb_mmc_data = {
.hclk = 24000000,
};