drm/msm/dpu: make the irq table size static
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 2 Aug 2023 10:04:23 +0000 (13:04 +0300)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sun, 8 Oct 2023 21:34:44 +0000 (00:34 +0300)
commit56acb1b620e263d3fed8f11f71bf2ab7ce1cae5b
tree06cbace4d0ed0464608461a9b028ea3780e887f1
parentea4842ed62f3556cf0a90f19d911ee03a4d0c844
drm/msm/dpu: make the irq table size static

The size of the irq table is static, it has MDP_INTR_MAX * 32 interrupt
entries. Provide the fixed length and drop struct_size() statement.

Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/550927/
Link: https://lore.kernel.org/r/20230802100426.4184892-6-dmitry.baryshkov@linaro.org
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.h