diff options
author | Tony Lindgren <tony@atomide.com> | 2018-02-22 22:57:30 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-02-22 22:57:30 +0100 |
commit | d060b40523dcd91428c7fb2aaa307de37887484a (patch) | |
tree | 22121b1da438c7279ec2bed1d418e604cb22040f /arch/arm/mach-omap2/sr_device.c | |
parent | Linux 4.16-rc1 (diff) | |
download | linux-d060b40523dcd91428c7fb2aaa307de37887484a.tar.xz linux-d060b40523dcd91428c7fb2aaa307de37887484a.zip |
ARM: OMAP2+: Prepare to pass auxdata for smartreflex
We are still initializing smartreflex with platform data using
omap_device_build(). We can instead pass the platform data in
with auxdata in pdata-quirks.c and make the driver use that
in later patches.
Note that we cannot enable the auxdata use yet, this is done
in the last patch of the series.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/sr_device.c')
-rw-r--r-- | arch/arm/mach-omap2/sr_device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/sr_device.c b/arch/arm/mach-omap2/sr_device.c index eef6935e0403..906b03b29c49 100644 --- a/arch/arm/mach-omap2/sr_device.c +++ b/arch/arm/mach-omap2/sr_device.c @@ -89,6 +89,8 @@ static void __init sr_set_nvalues(struct omap_volt_data *volt_data, sr_data->nvalue_count = j; } +extern struct omap_sr_data omap_sr_pdata[]; + static int __init sr_dev_init(struct omap_hwmod *oh, void *user) { struct omap_sr_data *sr_data; |