From: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Sylvain Petinot <sylvain.petinot@foss.st.com>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
<linux-media@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 3/3] media: vgxy61: Add MODULE_ALIAS()
Date: Tue, 11 Jun 2024 13:57:24 +0200 [thread overview]
Message-ID: <76fd2e25-3a9c-49fa-994f-6a392e42a6bb@foss.st.com> (raw)
In-Reply-To: <ZmgI8nET4sdhdwQx@kekkonen.localdomain>
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 <benjamin.mugnier@foss.st.com>
>> ---
>> 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 <mickael.guene@st.com>");
>> MODULE_AUTHOR("Sylvain Petinot <sylvain.petinot@foss.st.com>");
>> 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 ?
--
Regards,
Benjamin
next prev parent reply other threads:[~2024-06-11 11:58 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-10 15:08 [PATCH 0/3] media: vgxy61: Remove vendor prefix from driver name Benjamin Mugnier
2024-06-10 15:08 ` [PATCH 1/3] media: vgxy61: Fix " Benjamin Mugnier
2024-06-11 6:47 ` Krzysztof Kozlowski
2024-06-10 15:08 ` [PATCH 2/3] media: vgxy61: Add legacy compatible string Benjamin Mugnier
2024-06-11 6:47 ` Krzysztof Kozlowski
2024-06-11 8:19 ` Sakari Ailus
2024-06-11 8:38 ` Krzysztof Kozlowski
2024-06-11 11:57 ` Benjamin Mugnier
2024-06-11 12:17 ` Krzysztof Kozlowski
2024-06-11 13:07 ` Benjamin Mugnier
2024-06-11 20:54 ` Krzysztof Kozlowski
2024-06-10 15:08 ` [PATCH 3/3] media: vgxy61: Add MODULE_ALIAS() Benjamin Mugnier
2024-06-11 6:48 ` Krzysztof Kozlowski
2024-06-11 8:21 ` Sakari Ailus
2024-06-11 11:57 ` Benjamin Mugnier [this message]
2024-06-11 13:11 ` Sakari Ailus
2024-06-11 13:13 ` Benjamin Mugnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=76fd2e25-3a9c-49fa-994f-6a392e42a6bb@foss.st.com \
--to=benjamin.mugnier@foss.st.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=robh@kernel.org \
--cc=sakari.ailus@linux.intel.com \
--cc=sylvain.petinot@foss.st.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).