tmio: Silence warnings introduced by mfd changes
This silences warnings such as drivers/video/tmiofb.c: In function 'tmiofb_hw_init': drivers/video/tmiofb.c:270: warning: initialization discards qualifiers from pointer target type These were added by me in commit 2a79bb1d. Signed-off-by: Andres Salomon <dilinger@queued.net> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:

committed by
Samuel Ortiz

parent
93619c2106
commit
944dc03551
@@ -1191,7 +1191,7 @@ static const struct mmc_host_ops tmio_mmc_ops = {
|
||||
#ifdef CONFIG_PM
|
||||
static int tmio_mmc_suspend(struct platform_device *dev, pm_message_t state)
|
||||
{
|
||||
struct mfd_cell *cell = mfd_get_cell(dev);
|
||||
const struct mfd_cell *cell = mfd_get_cell(dev);
|
||||
struct mmc_host *mmc = platform_get_drvdata(dev);
|
||||
int ret;
|
||||
|
||||
@@ -1206,7 +1206,7 @@ static int tmio_mmc_suspend(struct platform_device *dev, pm_message_t state)
|
||||
|
||||
static int tmio_mmc_resume(struct platform_device *dev)
|
||||
{
|
||||
struct mfd_cell *cell = mfd_get_cell(dev);
|
||||
const struct mfd_cell *cell = mfd_get_cell(dev);
|
||||
struct mmc_host *mmc = platform_get_drvdata(dev);
|
||||
int ret = 0;
|
||||
|
||||
@@ -1229,7 +1229,7 @@ out:
|
||||
|
||||
static int __devinit tmio_mmc_probe(struct platform_device *dev)
|
||||
{
|
||||
struct mfd_cell *cell = mfd_get_cell(dev);
|
||||
const struct mfd_cell *cell = mfd_get_cell(dev);
|
||||
struct tmio_mmc_data *pdata;
|
||||
struct resource *res_ctl;
|
||||
struct tmio_mmc_host *host;
|
||||
@@ -1344,7 +1344,7 @@ out:
|
||||
|
||||
static int __devexit tmio_mmc_remove(struct platform_device *dev)
|
||||
{
|
||||
struct mfd_cell *cell = mfd_get_cell(dev);
|
||||
const struct mfd_cell *cell = mfd_get_cell(dev);
|
||||
struct mmc_host *mmc = platform_get_drvdata(dev);
|
||||
|
||||
platform_set_drvdata(dev, NULL);
|
||||
|
Reference in New Issue
Block a user