gpu/host1x: bus: Add missing description for 'driver'
authorLee Jones <lee.jones@linaro.org>
Thu, 5 Nov 2020 14:44:59 +0000 (14:44 +0000)
committerSam Ravnborg <sam@ravnborg.org>
Thu, 5 Nov 2020 21:12:55 +0000 (22:12 +0100)
Fixes the following W=1 kernel build warning(s):

 drivers/gpu/host1x/bus.c:40: warning: Function parameter or member 'driver' not described in 'host1x_subdev_add'

Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-tegra@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20201105144517.1826692-2-lee.jones@linaro.org
drivers/gpu/host1x/bus.c

index e201f62d62c0ccd330407dd0312054944c3df148..347fb962b6c936ecb25f59807b1a673c385262ed 100644 (file)
@@ -32,6 +32,7 @@ struct host1x_subdev {
 /**
  * host1x_subdev_add() - add a new subdevice with an associated device node
  * @device: host1x device to add the subdevice to
+ * @driver: host1x driver containing the subdevices
  * @np: device node
  */
 static int host1x_subdev_add(struct host1x_device *device,