Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1186051
| From | Paul Bolle <pebolle@tiscali.nl> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] ASoC: rockchip: Add machine driver for max98090 codec |
| Date | 2015-07-16 18:30 +0200 |
| Message-ID | <pMUcO-3Ap-3@gated-at.bofh.it> (permalink) |
| References | (3 earlier) <pMPd8-4Ps-23@gated-at.bofh.it> <pMPPP-5zU-13@gated-at.bofh.it> <pMQVA-77l-9@gated-at.bofh.it> <pMSb0-GS-15@gated-at.bofh.it> <pMSXn-1Ro-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On do, 2015-07-16 at 16:05 +0100, Mark Brown wrote:
> Why would this not be the case - what is the difference you beleive
> this driver has to other platform drivers?
It's my believe that for MODULE_ALIAS("platform:[...]") to be useful
there needs to be corresponding struct platform_device. For this patch
that would be a platform device named "rockchip-snd-max98090". (This is
something that I try to check rather carefully, because these devices
can be generated on the fly.)
I'm happy to drop this believe if someone shows me another way that
MODULE_ALIAS("platform:[...]") can actually be used.
So, in short, the difference between this driver and other platform
drivers is that, as far as I'm aware, this platform driver lacks a
corresponding platform device. Probably because OF support suffices to
get this module autoloaded.
Thanks,
Paul Bolle
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | 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