On 3/9/2015 8:04 AM, Mian Yousaf Kaukab wrote:
> +
> +int dwc2_debugfs_init(struct dwc2_hsotg *hsotg)
> +{
> + int ret;
> +
> + hsotg->debug_root = debugfs_create_dir(dev_name(hsotg->dev), NULL);
> + if (!hsotg->debug_root) {
> + ret = -ENOMEM;
> + goto err0;
> + }
> +
> + /* Add gadget debugfs nodes */
> + s3c_hsotg_create_debug(hsotg);
> +err0:
> + return ret;
> +}
Need export for this function when dwc2-platform is configured as a module.
> +
> +void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg)
> +{
> + debugfs_remove_recursive(hsotg->debug_root);
> + hsotg->debug_root = NULL;
> +}
This doesn't seem to be called from anywhere.
John
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html