[PATCH v8 1/4] drm: of: Add drm_of_get_dsi_bus helper function
Linus Walleij
linus.walleij at linaro.org
Mon Jan 16 12:35:13 UTC 2023
On Wed, Jan 11, 2023 at 4:01 AM kernel test robot <lkp at intel.com> wrote:
> 126 static inline int
> 127 drm_of_get_data_lanes_count_ep(const struct device_node *port,
> 128 int port_reg, int reg,
> 129 const unsigned int min,
> 130 const unsigned int max)
> 131 {
> 132 return -EINVAL;
> 133 }
> > 134 struct mipi_dsi_host *drm_of_get_dsi_bus(struct device *dev,
> 135 struct mipi_dsi_device_info *info)
> 136 {
> 137 return ERR_PTR(-EINVAL);
> 138 }
> 139 #endif
This needs to be prefixed "static inline" like the function above, then
I bet it works.
Yours,
Linus Walleij
More information about the dri-devel
mailing list