diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2023-05-12 12:24:44 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2023-05-18 11:07:54 +0200 |
commit | 20d54e48d9c705091a025afff5839da2ea606f6b (patch) | |
tree | 840303b990bb565d8b74ed43f79e38ccf21dedb9 /drivers/video/fbdev/sstfb.c | |
parent | 8f8eaa1b023580f7dce7fe8d73539b093edea65b (diff) | |
download | linux-stable-20d54e48d9c705091a025afff5839da2ea606f6b.tar.gz linux-stable-20d54e48d9c705091a025afff5839da2ea606f6b.tar.bz2 linux-stable-20d54e48d9c705091a025afff5839da2ea606f6b.zip |
fbdev: Rename fb_mem*() helpers
Update the names of the fb_mem*() helpers to be consistent with their
regular counterparts. Hence, fb_memset() now becomes fb_memset_io(),
fb_memcpy_fromfb() now becomes fb_memcpy_fromio() and fb_memcpy_tofb()
becomes fb_memcpy_toio(). No functional changes.
v6:
* update new file fb_io_fops.c
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Sui Jingfeng <suijingfeng@loongson.cn>
Link: https://patchwork.freedesktop.org/patch/msgid/20230512102444.5438-8-tzimmermann@suse.de
Diffstat (limited to 'drivers/video/fbdev/sstfb.c')
-rw-r--r-- | drivers/video/fbdev/sstfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/sstfb.c b/drivers/video/fbdev/sstfb.c index da296b2ab54a..582324f5d869 100644 --- a/drivers/video/fbdev/sstfb.c +++ b/drivers/video/fbdev/sstfb.c @@ -335,7 +335,7 @@ static int sst_calc_pll(const int freq, int *freq_out, struct pll_timing *t) static void sstfb_clear_screen(struct fb_info *info) { /* clear screen */ - fb_memset(info->screen_base, 0, info->fix.smem_len); + fb_memset_io(info->screen_base, 0, info->fix.smem_len); } |