]> www.infradead.org Git - users/jedix/linux-maple.git/commit
accel/ivpu: remove DRIVER_DATE conditional drm_driver init
authorJani Nikula <jani.nikula@intel.com>
Wed, 4 Dec 2024 14:31:11 +0000 (16:31 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 5 Dec 2024 10:35:41 +0000 (12:35 +0200)
commit75bfd8db89020e105daef8cd07135e94cf72fa56
tree5dc0006397960e2dfa44dc7198e151a751674fb7
parent23e08dc09efade5cda2aa548b02ec5e7688ca94e
accel/ivpu: remove DRIVER_DATE conditional drm_driver init

The ivpu struct drm_driver has conditional initialization based on #ifdef
DRIVER_DATE, which is never defined anywhere. Neither are the macros
referenced within the block: DRIVER_DATE, DRIVER_MAJOR, DRIVER_MINOR,
and DRIVER_PATCHLEVEL. With the struct drm_driver date member going away
anyway, just remove the conditional compilation.

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/0e4276552dde66dcdd275740cbc63d232cefd8f4.1733322525.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/accel/ivpu/ivpu_drv.c