Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp248960lqp; Tue, 11 Jun 2024 03:28:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVYC+tAwUkk840QzlrZZcncKAwhNJa1G5HN2JSiNtgJsfTM3GDeIUrYNY+7quEkmk7vUIwMeq1+aXzJDxVMiY1lgD2CTLx17g5ktvg87A== X-Google-Smtp-Source: AGHT+IEq2Mo4w6PHchl2GKKOG/vZ/4d8Okj/jXE2DU+5ZMi5xMaIzOdfQxvrVV4FZGFQS4cQeiG1 X-Received: by 2002:a05:6a20:12c6:b0:1b5:d143:72e7 with SMTP id adf61e73a8af0-1b5d1437426mr7160806637.32.1718101689819; Tue, 11 Jun 2024 03:28:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718101689; cv=pass; d=google.com; s=arc-20160816; b=q2gUi5w3IHJU3HdVFewurEsScpxqyoZ+5sSQv4xKVxGHlR9fwvzBUEiDGGF2x2a7Zz 9ZuRiaoV95Suebteo7LIEg5tXECHhGxAzk5hzyIWfggJMU5S0hbKpOLv4Kil9jRZabWh G3yqJPs052Y8eB/XFWACtAPi56JEI6dN1HMXjck172457v1WNFXbySYmCgnhuYo6xC1e XjLhgTZ6hqSRuvPGtjl5FFHnAbs7HHbL5Bzu9OPbmBhMzwOfoDhwLoBA/ajl5kW0gcQG WoJ98Nr9q5bNb3W/7QcbmUhbmAON3whozPmCNWXT5mbezAipsdXa55navN2QXMrSJlH+ i3ag== 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=k4ry8MGayKk+YiWuoW02wgdtQcinRfYSbrqA3lc91Co=; fh=sMUEd8v9fXIPkdRk5P+iqNGc9C8sz9KAiXB6T7rICmc=; b=GE/C6eXPXc/j+dekQ1N3Wm4wvlkFLILxIGpmwZqVInTL8T4QCzcD1U7T/pw4LKdrgH QWBHKoJSNkpD4V0KIr1TnbbDVVDxyNeQzjyLn8Xm4vuSlDI8uZ2JDINTwnIqJrMctN5k Kvjxh7nM807a6UdUrdRiod2cDZlbbIIzf9K+RHIXhRd5/7yqiz8Bx2aBnQkeU38LG4Tp S6rDyxdziSRORoB9nZnO7qFBLHTj48Ndq/+WqR9G4UP9onsAtQBmjc3AUC8FXeSPAQSd /yhsGOJ+lknD4mAVgvQ0c0Edhi62Us+TdK4NBDqcO94ejWDUXtPmZmqBKkxlAtc7YeMD 0+iw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BqAJrxqW; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-209462-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209462-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d2e1a72fcca58-70411524c25si7428563b3a.140.2024.06.11.03.28.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 03:28:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209462-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BqAJrxqW; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-209462-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209462-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id DA766B27793 for ; Tue, 11 Jun 2024 08:21:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EB773175550; Tue, 11 Jun 2024 08:21:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="BqAJrxqW" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) (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 8035A173321; Tue, 11 Jun 2024 08:21:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718094074; cv=none; b=kqUXJbjzQUKhUGS1lONBT1OAIfVknDo6u5jlfbJPWGEx5NGZoyO1L1fSVsgY7XIfipUC1w6sdzGWQz+wumgbKaP5onw24VZfuS1ljmzeObyg/CXTy1REZArjqNCV7rgzEVo/9iUNjRrqAa/h6ag1RFZYw8oLE15Y5xtOuJldSTc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718094074; c=relaxed/simple; bh=o9R63W2h+PXHJFvU1TUtUAN5DVlFkM8X+Kj+TFyexv8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lN6aPUkBjpYgMlfTQZY6IWBPBMa3h7872ffKuiR7eow1ZRZGcpGWiGn018EspcbhP0RlxvYESAXxeX7cUwinplN47Z5WyqOAC3ur00HJVTCse7/Q/srkr9ZX/NvYTsEoxGmRpleCq4LjD75XXpQtV6QrwY+XTMWSXAH+D9jwyoU= 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=BqAJrxqW; arc=none smtp.client-ip=198.175.65.18 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=1718094072; x=1749630072; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=o9R63W2h+PXHJFvU1TUtUAN5DVlFkM8X+Kj+TFyexv8=; b=BqAJrxqWoCY9gYA3/dRpGAhXmnLm6Dhg/KIP6OI1CryqrjQ0EucPWL4A VJsydrqZrJcf3BrQhCYO++4zEZcmhprFPgdOdzJQqeDABMHyweqwUKUAa K6U+fH4Gap/w4NrEzsiEZqhCkA9PwcviBr8KcEaK+ntgjLn1ka8pl9HkL iFOVmwT9pP1Pno5Tvh2eOSWOfo7kULyz0NkOcbl0I9OaGWNEQORsVVt48 70vHgK2b6fBclW5Ou0wnwIoxtX01g63KT6S4/EVwi7ZQHEp+gQkRiwkKZ yV2bBcwycUa2PqbITggYMaio2MewNuMDKKpKuYfdjCcfTmwAVJQG1Uuvr w==; X-CSE-ConnectionGUID: PhAadFqxRViDHIRPWMif8A== X-CSE-MsgGUID: WmaUPN6fRtex9iwCf1uNjg== X-IronPort-AV: E=McAfee;i="6600,9927,11099"; a="14940359" X-IronPort-AV: E=Sophos;i="6.08,229,1712646000"; d="scan'208";a="14940359" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2024 01:21:12 -0700 X-CSE-ConnectionGUID: AZKl3105TiaPL+FtfswRXA== X-CSE-MsgGUID: bzNw9UUfQDCfTzhwKg3M+w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,229,1712646000"; d="scan'208";a="39299831" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by orviesa010-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2024 01:21:09 -0700 Received: from kekkonen.localdomain (localhost [127.0.0.1]) by kekkonen.fi.intel.com (Postfix) with SMTP id 00D5D11F9C0; Tue, 11 Jun 2024 11:21:07 +0300 (EEST) Date: Tue, 11 Jun 2024 08:21:06 +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> 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: <20240610150815.228790-4-benjamin.mugnier@foss.st.com> 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? -- Kind regards, Sakari Ailus