From: Mark Brown Date: Mon, 4 Feb 2013 18:31:25 +0000 (+0000) Subject: regulator: s5m8767: Fix build in non-DT case X-Git-Tag: v3.9-rc1~154^2~3^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=197bf85630a6f4ed5d533d5770f8daa92f4c4041;p=thirdparty%2Fkernel%2Flinux.git regulator: s5m8767: Fix build in non-DT case Fix drift in DT parsing function name in the stub code. Reported-by: Fengguang Wu Signed-off-by: Mark Brown --- diff --git a/drivers/mfd/sec-core.c b/drivers/mfd/sec-core.c index ae029834d0a0e..77ee26ef59417 100644 --- a/drivers/mfd/sec-core.c +++ b/drivers/mfd/sec-core.c @@ -136,7 +136,7 @@ static struct sec_platform_data *sec_pmic_i2c_parse_dt_pdata( return pd; } #else -static struct sec_platform_data *sec_i2c_parse_dt_pdata( +static struct sec_platform_data *sec_pmic_i2c_parse_dt_pdata( struct device *dev) { return 0;