From mboxrd@z Thu Jan 1 00:00:00 1970 From: jiang.liu@linux.intel.com (Jiang Liu) Date: Thu, 16 Jul 2015 23:25:18 +0800 Subject: [PATCH 1/2] ASoC: rockchip: Add machine driver for max98090 codec In-Reply-To: <1437056383.28351.23.camel@tiscali.nl> References: <1436930143-31361-1-git-send-email-zhengxing@rock-chips.com> <1436930143-31361-2-git-send-email-zhengxing@rock-chips.com> <1437033944.27428.11.camel@tiscali.nl> <55A79394.5090905@rock-chips.com> <1437047374.28351.8.camel@tiscali.nl> <55A79C8B.7020402@rock-chips.com> <1437056383.28351.23.camel@tiscali.nl> Message-ID: <55A7CCDE.9010701@linux.intel.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 2015/7/16 22:19, Paul Bolle wrote: > Hi, > > On do, 2015-07-16 at 19:59 +0800, zhengxing wrote: >> I mean that the use of MODALIAS() in this patch, and I refered to >> tegra_max98090.c(have been upstreamed) that used it like this also. So >> I didn't care the using. > > And I think the same problem with MODULE_ALIAS() can be found in that > driver. Ie, where does the platform device that has a "tegra-snd > -max98090" .name hide? (See the reply I just sent to mark for more > details.) May be that is hidden in some device tree files. MODULE_ALIAS() is used by a driver to announce that it supports such types of devices. And bus enumerator will create those devices by probing hardware or parsing some configuration files. Thanks! Gerry