diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2015-12-12 22:27:10 +0100 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-12-15 14:41:24 +0100 |
commit | f3621a60b20d677b0a874df4311bb65337c4baf7 (patch) | |
tree | 3ceab110ab323b915ddd57f3d906ff1d02e014ec /drivers/video/fbdev/pxafb.h | |
parent | fbdev: Make fb-notify a no-op if CONFIG_FB=n (diff) | |
download | linux-f3621a60b20d677b0a874df4311bb65337c4baf7.tar.xz linux-f3621a60b20d677b0a874df4311bb65337c4baf7.zip |
video: fbdev: pxafb: loosen the platform data bond
In order to prepare the transition to a mixed platform data and
device-tree initialization, remove all the platform data references all
over the driver.
Copy the platform data into the internal structure of the pxafb, and
only use this afterward.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/fbdev/pxafb.h')
-rw-r--r-- | drivers/video/fbdev/pxafb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/pxafb.h b/drivers/video/fbdev/pxafb.h index 26ba9fa3f737..5dc414e26fc8 100644 --- a/drivers/video/fbdev/pxafb.h +++ b/drivers/video/fbdev/pxafb.h @@ -167,6 +167,8 @@ struct pxafb_info { void (*lcd_power)(int, struct fb_var_screeninfo *); void (*backlight_power)(int); + + struct pxafb_mach_info *inf; }; #define TO_INF(ptr,member) container_of(ptr,struct pxafb_info,member) |