drm/radeon: Stop changing the drm_driver struct
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 4 Nov 2020 10:04:20 +0000 (11:04 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 6 Nov 2020 09:31:26 +0000 (10:31 +0100)
commit384bc5e059d4ce8856d650f24d75b8083c0f68d6
tree14d8eb582b6b5254d2bedd0d7045a27668a39a62
parent5d4c1edf0ddcf8308386a422840a43fd4122ffb5
drm/radeon: Stop changing the drm_driver struct

With only the kms driver left, we can fold this in. This means
we need to move the ioctl table, which means one additional ioctl
must be defined in headers.

Also there's a conflict between the radeon_init macro and the module
init function, so rename the module functions to avoid that.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: amd-gfx@lists.freedesktop.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20201104100425.1922351-1-daniel.vetter@ffwll.ch
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_drv.c
drivers/gpu/drm/radeon/radeon_kms.c