Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754574AbbGPPZY (ORCPT ); Thu, 16 Jul 2015 11:25:24 -0400 Received: from mga14.intel.com ([192.55.52.115]:38745 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751525AbbGPPZX (ORCPT ); Thu, 16 Jul 2015 11:25:23 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,488,1432623600"; d="scan'208";a="607469959" Message-ID: <55A7CCDE.9010701@linux.intel.com> Date: Thu, 16 Jul 2015 23:25:18 +0800 From: Jiang Liu Organization: Intel User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Paul Bolle , zhengxing CC: dgreid@chromium.org, dianders@chromium.org, heiko@sntech.de, sonnyrao@chromium.org, linux-rockchip@lists.infradead.org, Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 1/2] ASoC: rockchip: Add machine driver for max98090 codec 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> In-Reply-To: <1437056383.28351.23.camel@tiscali.nl> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 991 Lines: 23 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 -- 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/