Skip to content

Commit

Permalink
[BOE panel driver] Fix for upstream change
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaIng committed Nov 18, 2023
1 parent bf93e03 commit 68b2e14
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/gpu/drm/panel/panel-boe-th101mb31ig002-28a.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,19 +354,12 @@ static int boe_dsi_probe(struct mipi_dsi_device *dsi)

return 0;
}
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 0))
static int boe_dsi_remove(struct mipi_dsi_device *dsi)
#else
static void boe_dsi_remove(struct mipi_dsi_device *dsi)
#endif
{
struct boe *ctx = mipi_dsi_get_drvdata(dsi);

mipi_dsi_detach(dsi);
drm_panel_remove(&ctx->panel);
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 0))
return 0;
#endif
}

static const struct of_device_id boe_of_match[] = {
Expand Down

0 comments on commit 68b2e14

Please sign in to comment.