aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/tmio.h
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2009-06-15 15:43:31 +0200
committerSamuel Ortiz <sameol@linux.intel.com>2009-06-17 19:41:52 +0200
commit4d3792e054f706f73837769a0e5607b3b7ad25a2 (patch)
tree42545bf01207d599ed531d2025156fe6114997c1 /include/linux/mfd/tmio.h
parent09f05ce8512c9873bda7f76273708753fdc5c698 (diff)
downloadkernel_samsung_smdk4412-4d3792e054f706f73837769a0e5607b3b7ad25a2.zip
kernel_samsung_smdk4412-4d3792e054f706f73837769a0e5607b3b7ad25a2.tar.gz
kernel_samsung_smdk4412-4d3792e054f706f73837769a0e5607b3b7ad25a2.tar.bz2
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 'include/linux/mfd/tmio.h')
-rw-r--r--include/linux/mfd/tmio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h
index c377118..6b9c5d0 100644
--- a/include/linux/mfd/tmio.h
+++ b/include/linux/mfd/tmio.h
@@ -22,7 +22,7 @@
* data for the MMC controller
*/
struct tmio_mmc_data {
- unsigned int hclk;
+ const unsigned int hclk;
};
/*