Re: [PATCH] usb/composite.h: mark private struct members as private:

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 29 April 2009, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> 
> Mark internal struct members as /* private: */ so that kernel-doc
> won't produce warnings about missing descriptions for them.
> 
> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Acked-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>

Makes me want to go and remove some kerneldoc that was added
purely (and misleadingly) to shut up the tools...

> ---
>  include/linux/usb/composite.h |    3 +++
>  1 file changed, 3 insertions(+)
> 
> --- linux-2.6.30-rc3-git4.orig/include/linux/usb/composite.h
> +++ linux-2.6.30-rc3-git4/include/linux/usb/composite.h
> @@ -124,6 +124,7 @@ struct usb_function {
>  	void			(*suspend)(struct usb_function *);
>  	void			(*resume)(struct usb_function *);
>  
> +	/* private: */
>  	/* internals */
>  	struct list_head		list;
>  };
> @@ -219,6 +220,7 @@ struct usb_configuration {
>  
>  	struct usb_composite_dev	*cdev;
>  
> +	/* private: */
>  	/* internals */
>  	struct list_head	list;
>  	struct list_head	functions;
> @@ -321,6 +323,7 @@ struct usb_composite_dev {
>  
>  	struct usb_configuration	*config;
>  
> +	/* private: */
>  	/* internals */
>  	struct usb_device_descriptor	desc;
>  	struct list_head		configs;
> 
> 



--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux