Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1185726
| From | Mark Brown <broonie@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] ASoC: rockchip: Add machine driver for max98090 codec |
| Date | 2015-07-16 13:10 +0200 |
| Message-ID | <pMPd8-4Ps-23@gated-at.bofh.it> (permalink) |
| References | <pMlyq-3ED-3@gated-at.bofh.it> <pMlyp-3ED-1@gated-at.bofh.it> <pMMoW-My-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Thu, Jul 16, 2015 at 10:05:44AM +0200, Paul Bolle wrote:
> > +static struct platform_driver snd_rk_mc_driver = {
> > + .probe = snd_rk_mc_probe,
> > + .remove = snd_rk_mc_remove,
> > + .driver = {
> > + .name = DRV_NAME,
> > +MODULE_ALIAS("platform:" DRV_NAME);
> This seems only useful if there's a corresponding struct
> platform_device. Ie, a platform_device with a "rockchip-snd-max98090"
> .name, which will trigger a "MODALIAS=platform:rockchip-snd-max98090"
> uevent when it's created. But I couldn't find where such a
> platform_device is created.
> Did I miss something? Or is there another way this alias is useful here?
You've got platform_device and platform_driver confused I think.
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH 1/2] ASoC: rockchip: Add machine driver for max98090 codec Mark Brown <broonie@kernel.org> - 2015-07-16 13:10 +0200
Re: [PATCH 1/2] ASoC: rockchip: Add machine driver for max98090 codec zhengxing <zhengxing@rock-chips.com> - 2015-07-16 13:40 +0200
Re: [PATCH 1/2] ASoC: rockchip: Add machine driver for max98090 codec Paul Bolle <pebolle@tiscali.nl> - 2015-07-16 13:50 +0200
Re: [PATCH 1/2] ASoC: rockchip: Add machine driver for max98090 codec Mark Brown <broonie@kernel.org> - 2015-07-16 17:10 +0200
Re: [PATCH 1/2] ASoC: rockchip: Add machine driver for max98090 codec Paul Bolle <pebolle@tiscali.nl> - 2015-07-16 18:30 +0200
Re: [PATCH 1/2] ASoC: rockchip: Add machine driver for max98090 codec Mark Brown <broonie@kernel.org> - 2015-07-16 22:00 +0200
csiph-web