msm8953-mainline / linux

Linux mainline kernel with WIP patches for msm8953 devices
Other
111 stars 59 forks source link

panel-fairphone-fp3-hx83112b.c: errors at compile time (6.1.0) #68

Closed M0Rf30 closed 1 year ago

M0Rf30 commented 1 year ago

with latest 6.1.0 branch

drivers/gpu/drm/panel/msm8953-generated/panel-fairphone-fp3-hx83112b.c:435:19: error: initialization of 'void (*)(struct mipi_dsi_device *)' from incompatible pointer type 'int (*)(struct mipi_dsi_device *)' [-Werror=incompatible-pointer-types]
  435 |         .remove = djn_hx83112b_remove,
      |                   ^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/panel/msm8953-generated/panel-fairphone-fp3-hx83112b.c:435:19: note: (near initialization for 'djn_hx83112b_driver.remove')
cc1: some warnings being treated as errors

@z3ntu @mtvec @alikates

alikates commented 1 year ago

I probably forgot to add the fp3 dts to the panel generator

z3ntu commented 1 year ago

Update lmpdg submodule in the panel drivers repo so remove callback returns void instead of int

alikates commented 1 year ago

Yeah, i updated it in my local tree but havent pushed it yet

M0Rf30 commented 1 year ago

Solved with latest commits on 6.1.0 branch. thanks