Thomas Zimmermann
12d55c013a
fbdev/sm712fb: Use correct initializer macros for struct fb_ops
Only initialize mmap and draw helpers with macros; leave read/write
callbacks to driver implementations. Fixes the following warnings:
CC [M] drivers/video/fbdev/sm712fb.o
sm712fb.c:1355:25: warning: initialized field overwritten [-Woverride-init]
1355 | .fb_fillrect = cfb_fillrect,
| ^~~~~~~~~~~~
sm712fb.c:1355:25: note: (near initialization for 'smtcfb_ops.fb_fillrect')
sm712fb.c:1356:25: warning: initialized field overwritten [-Woverride-init]
1356 | .fb_imageblit = cfb_imageblit,
| ^~~~~~~~~~~~~
sm712fb.c:1356:25: note: (near initialization for 'smtcfb_ops.fb_imageblit')
sm712fb.c:1357:25: warning: initialized field overwritten [-Woverride-init]
1357 | .fb_copyarea = cfb_copyarea,
| ^~~~~~~~~~~~
sm712fb.c:1357:25: note: (near initialization for 'smtcfb_ops.fb_copyarea')
sm712fb.c:1358:25: warning: initialized field overwritten [-Woverride-init]
1358 | .fb_read = smtcfb_read,
| ^~~~~~~~~~~
sm712fb.c:1358:25: note: (near initialization for 'smtcfb_ops.fb_read')
sm712fb.c:1359:25: warning: initialized field overwritten [-Woverride-init]
1359 | .fb_write = smtcfb_write,
| ^~~~~~~~~~~~
sm712fb.c:1359:25: note: (near initialization for 'smtcfb_ops.fb_write')
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Fixes: 586132cf1d ("fbdev/sm712fb: Initialize fb_ops to fbdev I/O-memory helpers")
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Javier Martinez Canillas <javierm@redhat.com>
Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: Teddy Wang <teddy.wang@siliconmotion.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Helge Deller <deller@gmx.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: linux-fbdev@vger.kernel.org
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231127131655.4020-3-tzimmermann@suse.de
2023-11-29 12:20:10 +01:00
..
2023-10-31 10:47:50 +10:00
2023-10-31 10:47:50 +10:00
2023-08-04 15:54:35 +02:00
2023-10-19 12:55:32 +02:00
2023-10-19 12:55:40 +02:00
2023-08-24 07:26:06 +10:00
2023-10-19 12:55:45 +02:00
2023-08-24 07:26:06 +10:00
2023-10-23 18:20:06 +10:00
2023-10-19 12:55:53 +02:00
2023-11-07 14:42:34 +01:00
2023-11-10 07:34:19 +01:00
2023-10-19 12:56:16 +02:00
2023-10-19 12:56:35 +02:00
2023-10-19 12:56:39 +02:00
2023-10-19 12:57:11 +02:00
2023-11-07 14:42:34 +01:00
2023-10-19 12:54:16 +02:00
2023-11-29 12:20:08 +01:00
2023-10-19 12:54:27 +02:00
2023-11-10 09:16:02 +01:00
2023-07-24 16:50:39 +02:00
2023-10-19 12:54:34 +02:00
2023-08-04 15:54:34 +02:00
2023-10-19 12:54:38 +02:00
2023-11-10 07:34:19 +01:00
2023-10-19 12:54:46 +02:00
2023-09-29 08:27:15 +10:00
2023-07-31 20:07:24 +02:00
2023-09-22 16:28:36 +10:00
2023-08-04 15:54:35 +02:00
2023-09-22 16:28:36 +10:00
2023-09-22 16:28:36 +10:00
2023-09-22 16:28:36 +10:00
2023-08-04 15:54:35 +02:00
2023-10-19 12:54:52 +02:00
2023-07-24 16:50:38 +02:00
2023-10-19 12:54:56 +02:00
2023-10-19 12:54:59 +02:00
2023-10-19 12:55:03 +02:00
2023-08-04 15:54:35 +02:00
2023-10-19 12:55:07 +02:00
2023-08-04 15:54:35 +02:00
2023-10-19 12:55:10 +02:00
2023-09-22 16:28:36 +10:00
2023-08-04 15:54:35 +02:00
2023-11-10 09:16:02 +01:00
2023-09-02 08:18:40 -07:00
2023-10-19 12:55:14 +02:00
2023-08-24 07:26:06 +10:00
2023-08-24 07:26:06 +10:00
2023-08-04 15:54:36 +02:00
2023-07-31 20:07:24 +02:00
2023-10-19 12:55:17 +02:00
2023-10-19 12:55:23 +02:00
2023-10-19 12:55:27 +02:00
2023-11-10 07:34:19 +01:00
2023-08-04 15:54:36 +02:00
2023-11-07 14:42:34 +01:00
2023-08-24 07:26:06 +10:00
2023-11-03 15:44:25 -10:00
2023-09-22 16:28:36 +10:00
2023-08-04 15:54:36 +02:00
2023-09-22 16:28:36 +10:00
2023-08-04 15:54:36 +02:00
2023-07-31 20:07:24 +02:00
2023-10-19 12:55:48 +02:00
2023-08-04 15:54:37 +02:00
2023-11-07 14:42:34 +01:00
2023-09-22 16:28:36 +10:00
2023-08-24 07:26:06 +10:00
2023-10-19 12:56:00 +02:00
2023-10-19 12:56:04 +02:00
2023-08-04 15:54:37 +02:00
2023-08-04 15:54:37 +02:00
2023-08-04 15:54:37 +02:00
2023-08-03 16:08:14 +02:00
2023-10-19 12:56:08 +02:00
2023-04-24 11:48:31 +02:00
2022-04-19 16:29:03 +02:00
2023-08-04 15:54:37 +02:00
2023-08-04 15:54:37 +02:00
2023-08-04 15:54:38 +02:00
2023-10-19 12:56:23 +02:00
2023-08-04 15:54:38 +02:00
2023-10-19 12:56:27 +02:00
2023-10-31 10:47:50 +10:00
2023-07-20 07:56:30 +02:00
2023-08-28 09:43:53 +02:00
2023-08-04 15:54:38 +02:00
2023-07-24 16:50:39 +02:00
2023-11-22 09:51:16 +01:00
2023-07-24 16:50:38 +02:00
2023-10-19 12:56:43 +02:00
2023-11-29 12:20:10 +01:00
2023-09-05 14:13:56 +02:00
2023-09-01 00:29:34 +02:00
2023-08-04 15:54:38 +02:00
2023-10-19 12:56:51 +02:00
2023-10-19 12:56:55 +02:00
2023-08-24 07:26:06 +10:00
2023-08-24 07:26:06 +10:00
2023-09-22 16:28:36 +10:00
2023-10-19 12:56:59 +02:00
2023-10-19 12:57:03 +02:00
2023-10-19 12:57:07 +02:00
2023-09-05 14:13:57 +02:00
2023-10-16 23:19:34 +02:00
2023-08-04 15:54:38 +02:00
2023-08-04 15:54:38 +02:00
2023-07-24 16:50:39 +02:00
2023-11-03 15:44:25 -10:00
2023-07-24 16:50:38 +02:00
2023-10-19 12:57:21 +02:00
2023-07-24 16:50:38 +02:00
2023-05-18 11:06:19 +02:00
2023-07-31 20:07:24 +02:00
2023-08-24 07:26:06 +10:00