Re: [RFC][PATCH] avoid multiple inclusions of file in gadget driver

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

 



On Tue, Mar 16, 2010 at 03:35:15PM +0530, Viral Mehta wrote:
> Avoid multiple inclusions.
> Guard composite.c, config.c, epautoconf.c,
> and ubstring.c from being included for multiple times.
> 
> For e.g.,
> g_audio driver already includes these files
> g_video gadget driver which may be used for Video
> surveillance will also include them
> 
> Now, if g_webcam is a simple union of g_audio and g_video,
> it will get a compilation error for redefinition of symbols without this patch.

Do we get an error with the existing in-kernel drivers somehow without
this patch?

thanks,

greg k-h
--
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