OpenCloudOS-Kernel/drivers/video/fbdev/aty
Randy Dunlap c43da06107 fbdev: aty: fix -Wextra build warning
When 'DEBUG' is not defined, modify the DPRINTK() macro to use the
no_printk() macro instead of using <empty>.
This fixes a build warning when -Wextra is used and provides
printk format checking:

../drivers/video/fbdev/aty/atyfb_base.c:784:61: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Antonino Daplas <adaplas@gmail.com>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200315041002.24473-3-rdunlap@infradead.org
2020-03-20 14:29:08 +01:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ati_ids.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
aty128fb.c video: constify fb ops across all drivers 2019-12-05 10:57:53 +02:00
atyfb.h video: fbdev: atyfb: modify the static fb_ops directly 2019-12-05 10:56:58 +02:00
atyfb_base.c fbdev: aty: fix -Wextra build warning 2020-03-20 14:29:08 +01:00
mach64_accel.c mach64: optimize wait_for_fifo 2018-10-08 12:57:35 +02:00
mach64_ct.c mach64: detect the dot clock divider correctly on sparc 2018-10-08 12:57:34 +02:00
mach64_cursor.c video: fbdev: atyfb: modify the static fb_ops directly 2019-12-05 10:56:58 +02:00
mach64_gx.c video: fbdev: atyfb: remove set but not used variable 'mach64RefFreq' 2020-03-02 16:32:12 +01:00
radeon_accel.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
radeon_backlight.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
radeon_base.c video: fbdev: radeon: Remove dead code 2020-03-02 16:32:15 +01:00
radeon_i2c.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
radeon_monitor.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
radeon_pm.c PCI/PM: Avoid exporting __pci_complete_power_transition() 2019-11-20 17:35:52 -06:00
radeonfb.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00