[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160817133204.GS9927@kuha.fi.intel.com>
Date: Wed, 17 Aug 2016 16:32:04 +0300
From: Heikki Krogerus <heikki.krogerus@...ux.intel.com>
To: Felipe Balbi <felipe.balbi@...ux.intel.com>
Cc: Greg KH <gregkh@...uxfoundation.org>,
Guenter Roeck <linux@...ck-us.net>,
Oliver Neukum <oneukum@...e.com>, linux-kernel@...r.kernel.org,
linux-usb@...r.kernel.org
Subject: Re: [PATCH v5 2/2] usb: typec: add driver for Intel Whiskey Cove
PMIC USB Type-C PHY
On Wed, Aug 17, 2016 at 03:53:24PM +0300, Felipe Balbi wrote:
> Heikki Krogerus <heikki.krogerus@...ux.intel.com> writes:
>
> [...]
>
> > +static struct platform_driver wcove_typec_driver = {
> > + .driver = {
> > + .name = "bxt_wcove_usbc",
> > + },
> > + .probe = wcove_typec_probe,
> > + .remove = wcove_typec_remove,
> > +};
> > +
> > +module_platform_driver(wcove_typec_driver);
> > +
> > +MODULE_AUTHOR("Intel Corporation");
> > +MODULE_LICENSE("GPL v2");
> > +MODULE_DESCRIPTION("WhiskeyCove PMIC USB Type-C PHY driver");
>
> you need to add:
>
> MODULE_ALIAS("platform:bxt_wcove_usbc");
>
> otherwise this won't probe() automagically.
I'll fix it.
Thanks,
--
heikki
Powered by blists - more mailing lists