radeon: Enable Werror for radeon graphics driver.

* Fix warnings by adding casts, adjusting types, removing obsolete code.
* Correcting two typos
* Activate Werror for radeon
* Part of ticket #9460

Change-Id: I0dda1eea3a60810ba83b9e2cc109872b9cbf2cfd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10347
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
Fruit De La Passion
2026-02-23 08:19:40 +00:00
committed by Adrien Destugues
parent 6a81f43a4b
commit ec4e585599
9 changed files with 17 additions and 18 deletions
@@ -538,7 +538,7 @@ typedef struct {
area_id regs_area; // area of memory mapped registers
area_id ROM_area; // area of ROM
void *framebuffer_pci; // physical address of frame buffer (aka local memory)
phys_addr_t framebuffer_pci; // physical address of frame buffer (aka local memory)
// this is a hack needed by BeOS
crtc_info crtc[2]; // info about each crtc