From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: [RFC PATCHv1] usb: dwc2: Combine the dwc2 and s3c_hsotg into a single USB DRD driver. Date: Tue, 11 Feb 2014 22:34:06 -0700 Message-ID: <52FB07CE.6060601@wwwdotorg.org> References: <1391550341-32509-1-git-send-email-dinguyen@altera.com> <1391550341-32509-2-git-send-email-dinguyen@altera.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1391550341-32509-2-git-send-email-dinguyen-EIB2kfCEclfQT0dZR+AlfA@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: dinguyen-EIB2kfCEclfQT0dZR+AlfA@public.gmane.org, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: dinh.linux-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Greg Kroah-Hartman , Paul Zimmerman , Felipe Balbi , Ben Dooks , Matt Porter , Kukjin Kim , Matthijs Kooijman , Fengguang Wu , Dan Carpenter , Wei Yongjun , Wolfram Sang , Yijing Wang , Ray Jui , Julien Delacou , Dom Cobley , Rashika Kheria , Jingoo Han , Sachin Kamat , Robert Baldyga , Kishon Vijay Abraham I List-Id: linux-samsung-soc@vger.kernel.org On 02/04/2014 02:45 PM, dinguyen-EIB2kfCEclfQT0dZR+AlfA@public.gmane.org wrote: > From: Dinh Nguyen > > This means that the driver can be in host or peripheral mode when the appropriate > connector is used. When an A-cable is plugged in, the driver behaves in host > mode, and when a B-cable is used, the driver will be in peripheral mode. Sorry for the slow response. When building ARCH=arm bcm2835_defconfig, I get build errors: > drivers/built-in.o: In function `dwc2_gadget_init': > drivers/usb/dwc2/s3c-hsotg.c:3335: undefined reference to `usb_add_gadget_udc' > drivers/built-in.o: In function `s3c_hsotg_remove': > drivers/usb/dwc2/s3c-hsotg.c:3358: undefined reference to `usb_del_gadget_udc' > drivers/usb/dwc2/s3c-hsotg.c:3364: undefined reference to `usb_gadget_unregister_driver' -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html