diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-10-17 16:01:13 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2017-10-17 16:01:13 +0200 |
commit | cb6bc3ff59e3ff7a6fba8ca6ee649d532b4e17f2 (patch) | |
tree | a23f05567c1b4326247f2bdb98d6510430d31389 /drivers/video/fbdev/sa1100fb.h | |
parent | video: sa1100fb: fix video memory allocation leak (diff) | |
download | linux-cb6bc3ff59e3ff7a6fba8ca6ee649d532b4e17f2.tar.xz linux-cb6bc3ff59e3ff7a6fba8ca6ee649d532b4e17f2.zip |
video: sa1100fb: move pseudo palette into sa1100fb_info structure
Move the pseudo palette inside the driver private data structure so we
don't have to play tricks to cater for it.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video/fbdev/sa1100fb.h')
-rw-r--r-- | drivers/video/fbdev/sa1100fb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/sa1100fb.h b/drivers/video/fbdev/sa1100fb.h index 0139d13377a5..7a1a9ca33cec 100644 --- a/drivers/video/fbdev/sa1100fb.h +++ b/drivers/video/fbdev/sa1100fb.h @@ -69,6 +69,8 @@ struct sa1100fb_info { const struct sa1100fb_mach_info *inf; struct clk *clk; + + u32 pseudo_palette[16]; }; #define TO_INF(ptr,member) container_of(ptr,struct sa1100fb_info,member) |