Re: [PATCH] linux/mod_devicetable.h: fix kernel-doc missing notation for typec_device_id
From: Heikki Krogerus
Date: Tue Sep 04 2018 - 03:40:41 EST
On Mon, Sep 03, 2018 at 12:51:59PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>
> Fix kernel-doc warning for missing struct member description:
>
> ../include/linux/mod_devicetable.h:763: warning: Function parameter or member 'driver_data' not described in 'typec_device_id'
>
> Fixes: 8a37d87d72f0c ("usb: typec: Bus type for alternate modes")
>
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Reviewed-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>
> ---
> include/linux/mod_devicetable.h | 1 +
> 1 file changed, 1 insertion(+)
>
> --- lnx-419-rc2.orig/include/linux/mod_devicetable.h
> +++ lnx-419-rc2/include/linux/mod_devicetable.h
> @@ -754,6 +754,7 @@ struct tb_service_id {
> * struct typec_device_id - USB Type-C alternate mode identifiers
> * @svid: Standard or Vendor ID
> * @mode: Mode index
> + * @driver_data: Driver specific data
> */
> struct typec_device_id {
> __u16 svid;
>
Thanks,
--
heikki