Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp32008lqp; Tue, 11 Jun 2024 13:33:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVoRNkdE5AVZZtGBlh11HphhJrocGTqbxM9i0Fr/nm0B60VBg8edWB/PukW28h5ggzC8dXXtnrbBYbAqYBB8hJNg0VoFXBfNYXS/E5tqw== X-Google-Smtp-Source: AGHT+IFBgsVhnZKQ+LSe83oT1Flc29C5fdOSJuVwzcRQLfW2WWC9vR5G/lgZzMtwl9ORzqZ/7hWD X-Received: by 2002:a05:6a20:431a:b0:1b8:5ac6:4bd3 with SMTP id adf61e73a8af0-1b8a9b361d8mr106306637.7.1718138013453; Tue, 11 Jun 2024 13:33:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718138013; cv=pass; d=google.com; s=arc-20160816; b=TfXu7vd0768iItt+uDrmTICWwvnzFkPozD9AesInKWUcHD6A7Sc8lNd40N0JRwi3Q7 hvZwOrsFYJyK2NsVIEbDw4zaK0BqveOYj8MDlcAvfIeu8e8DfoQyRFW3vQZDiij1+Mpe TL1TjEFM+g7s59d8a6wzJQQtwiWn+wTJZv6QrfcUV/QojnxIicKsJagDBc2KShNOaAUy Z13+I94rz2h8cRAlM5ndMM3nR+jpIYbigTdF+MIEqOot/cPYeJ4JJG7JMM9X4qsOR6QO p+WIHNf8WMsOrxPc9b5wUfSNb5BUFn+SzK8mumwSsA5iePCQb+IgzixCWZZLiF8NwiVa W7zg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=d1kvxB4bFwj3KDrXiThBAR1l+NEeP8/dyv35X2I299M=; fh=sMUEd8v9fXIPkdRk5P+iqNGc9C8sz9KAiXB6T7rICmc=; b=jY+/Praq9soWPB5vhNzabIzOxK8xTIrniYyd01uXj4a6YRsx8Yybka6+AMTGrRREwD wZFwRu3FWW1PMy3VSUFZlQZc9SpbrJNC8Z++nO5d/w10h2P5CujnYfeAHFUOH/bQOevN DzhN5RkVdVyeFOD2vsZ8ObiQz8FXVJlzeeVoH1Z9iSFYxn73KszwqhHf3+Z96WfNsgKr k8RKeob0tlMNuuTUWkiuiB0M716MGgJnGJQfoXv4qPY6OZ9emZkSBZKZwYkn9Ev08iPS +tx+qDDZMjkr/h3WdP45hBpYDU+m8l63unrAM7s2NcLuLa7knxXScReg5+uuJiwtKiND EwOw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=EtrGVFNO; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-209910-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209910-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f6bd76cc9bsi100393325ad.146.2024.06.11.13.33.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 13:33:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209910-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=EtrGVFNO; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-209910-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209910-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 161382842D4 for ; Tue, 11 Jun 2024 13:11:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4237C17C9F9; Tue, 11 Jun 2024 13:11:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="EtrGVFNO" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CDBD9178CCF; Tue, 11 Jun 2024 13:11:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718111485; cv=none; b=nT6+A2GjkFLxyMZ3aZJ21LtpOTAgfJtoYR8ZZyLEzCog21SIQmKO4dxzdufpQ7h0nAjWUJg3ZXWYaom9XZwVhoIZ7CKg9sHibRe7BbFFAFTv8CHua5GRLXiDaUVSWWuVOXbPC6tjFG1vzVmlZbax+F7nTUYWTZLxu0bq9GqSg4I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718111485; c=relaxed/simple; bh=AJ+FVeoX597QSQeGv0zyxdp+YRSUUfAPTtc7B1soBNc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=J0rXbegkVJwkExdaCNIA7OFgrKZlMQvzHKkxL/GFNzzY1HYbjcCnOvf44eMI47HRHqEt8eprQ3EwjXlRhm1pKRWVPqOhPcxX7dlNnXRcVImZqXsnAae/lp4av6vlDAi+5MYURFC0tyikzgi3qcJvKnHrD4E3+lzmdxqgEdbGqQ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=EtrGVFNO; arc=none smtp.client-ip=192.198.163.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718111484; x=1749647484; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=AJ+FVeoX597QSQeGv0zyxdp+YRSUUfAPTtc7B1soBNc=; b=EtrGVFNO3ZXlFWfvxWCD6fyKw6ImR5JF2bAThfuzQ0n4XYMjpaPYAlFP ouW/iFBfkxTRNPGgVoLHv4udeULWbO06Ma+feDldkvph4A29A42KzxYAT pCRsZsJ/akgIMfq1ZDmX29wLp5ZQM8VANb1N09OA5KrLYbCZTEkbtxO/i wk2uO60ckdWVhSmkH48vBH+qHwnEJyAUySOi6DpozO6bMBvsFRnd1UZXv hvCohJcynlmlVAPiQthDsV/3LdkVFURC7uSpzBwhIrD+/3GbDNivj/9fb zOWowlcOLn9+Lnz4lX5oZ2SRGD9VyFRRZJ6XF1IJBSs6xHMN57niXOWuc g==; X-CSE-ConnectionGUID: Zct+zZL0QGapf65AYDxqSQ== X-CSE-MsgGUID: /XYFdoFUQKq5aUM3hhN/qg== X-IronPort-AV: E=McAfee;i="6600,9927,11099"; a="26221684" X-IronPort-AV: E=Sophos;i="6.08,230,1712646000"; d="scan'208";a="26221684" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2024 06:11:23 -0700 X-CSE-ConnectionGUID: 1hHzB3iSSUGYXeCyYB2n9g== X-CSE-MsgGUID: xF1Yj6jeR0+Gl5QSM3jLGA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,230,1712646000"; d="scan'208";a="62592569" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by fmviesa002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2024 06:11:21 -0700 Received: from kekkonen.localdomain (localhost [127.0.0.1]) by kekkonen.fi.intel.com (Postfix) with SMTP id 5ADA011FA94; Tue, 11 Jun 2024 16:11:18 +0300 (EEST) Date: Tue, 11 Jun 2024 13:11:18 +0000 From: Sakari Ailus To: Benjamin Mugnier Cc: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sylvain Petinot , Laurent Pinchart , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] media: vgxy61: Add MODULE_ALIAS() Message-ID: References: <20240610150815.228790-1-benjamin.mugnier@foss.st.com> <20240610150815.228790-4-benjamin.mugnier@foss.st.com> <76fd2e25-3a9c-49fa-994f-6a392e42a6bb@foss.st.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <76fd2e25-3a9c-49fa-994f-6a392e42a6bb@foss.st.com> Hi Benjamin, On Tue, Jun 11, 2024 at 01:57:24PM +0200, Benjamin Mugnier wrote: > Hi Sakari, > > On 6/11/24 10:21, Sakari Ailus wrote: > > Hi Benjamin, > > > > On Mon, Jun 10, 2024 at 05:08:15PM +0200, Benjamin Mugnier wrote: > >> Preserve user space retro compatibility after the device rename. > >> > >> Signed-off-by: Benjamin Mugnier > >> --- > >> drivers/media/i2c/vgxy61.c | 1 + > >> 1 file changed, 1 insertion(+) > >> > >> diff --git a/drivers/media/i2c/vgxy61.c b/drivers/media/i2c/vgxy61.c > >> index ca3b43608dad..c85f356946ca 100644 > >> --- a/drivers/media/i2c/vgxy61.c > >> +++ b/drivers/media/i2c/vgxy61.c > >> @@ -1898,3 +1898,4 @@ MODULE_AUTHOR("Mickael Guene "); > >> MODULE_AUTHOR("Sylvain Petinot "); > >> MODULE_DESCRIPTION("VGXY61 camera subdev driver"); > >> MODULE_LICENSE("GPL"); > >> +MODULE_ALIAS("platform:st-vgxy61"); > > > > Perhaps just "st-vgxy61" so that the module still loads if someone loads it > > explicitly? That's what you'd want, right, as the old compatible string > > will remain? > > > > Yes it is for explicit loading. I'll remove the "platform" prefix. > > But maybe I'm overthinking and I could just remove the MODULE_ALIAS() > completely from this series. What do you think ? Most of the time the modules are loaded based on devices found, so this would likely not change things much. Up to you. -- Kind regards, Sakari Ailus