aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-08-07 19:42:49 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2012-09-11 10:15:03 +0200
commit015625a20f630c798a8c5fdf5d472be091b8ac7d (patch)
tree19dd03f125c9ceadb36eaf2d968b8c6deca984eb /drivers/video/backlight
parent023670295ab6b65f5a84b8f214377c04c683809d (diff)
downloadkernel_goldelico_gta04-015625a20f630c798a8c5fdf5d472be091b8ac7d.zip
kernel_goldelico_gta04-015625a20f630c798a8c5fdf5d472be091b8ac7d.tar.gz
kernel_goldelico_gta04-015625a20f630c798a8c5fdf5d472be091b8ac7d.tar.bz2
mfd: max8925: Convert to IORESOURCE_REG
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com> Tested-by: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/video/backlight')
-rw-r--r--drivers/video/backlight/max8925_bl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/max8925_bl.c b/drivers/video/backlight/max8925_bl.c
index e833ac7..996dadf 100644
--- a/drivers/video/backlight/max8925_bl.c
+++ b/drivers/video/backlight/max8925_bl.c
@@ -112,7 +112,7 @@ static int __devinit max8925_backlight_probe(struct platform_device *pdev)
unsigned char value;
int ret;
- res = platform_get_resource(pdev, IORESOURCE_IO, 0);
+ res = platform_get_resource(pdev, IORESOURCE_REG, 0);
if (res == NULL) {
dev_err(&pdev->dev, "No I/O resource!\n");
return -EINVAL;