ALT Linux kernel packages development
 help / color / mirror / Atom feed
* [d-kernel] [PATCH] [6.12] input: serio: add an alias to the sersev-serio driver
@ 2025-11-20 13:54 Daniil Gnusarev
  2025-11-20 14:14 ` Vitaly Chikunov
  0 siblings, 1 reply; 4+ messages in thread
From: Daniil Gnusarev @ 2025-11-20 13:54 UTC (permalink / raw)
  To: gnusarevda, devel-kernel

This will allow the driver to run as a module.

Signed-off-by: Daniil Gnusarev <gnusarevda@basealt.ru>
Do-not-upstream: this is a feature of Baikal-M
---
 drivers/input/serio/serdev-serio.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/input/serio/serdev-serio.c b/drivers/input/serio/serdev-serio.c
index 7fa23e1dedb5bb..88414ec49aeab7 100644
--- a/drivers/input/serio/serdev-serio.c
+++ b/drivers/input/serio/serdev-serio.c
@@ -104,6 +104,7 @@ static const struct of_device_id ss_of_match[] = {
 	{ .compatible = "serdev,serio" },
 	{},
 };
+MODULE_DEVICE_TABLE(of, ss_of_match);
 
 static struct serdev_device_driver serdev_serio_drv = {
 	.driver		= {
-- 
2.42.2



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [d-kernel] [PATCH] [6.12] input: serio: add an alias to the sersev-serio driver
  2025-11-20 13:54 [d-kernel] [PATCH] [6.12] input: serio: add an alias to the sersev-serio driver Daniil Gnusarev
@ 2025-11-20 14:14 ` Vitaly Chikunov
  2025-11-20 14:33   ` Daniil Gnusarev
  0 siblings, 1 reply; 4+ messages in thread
From: Vitaly Chikunov @ 2025-11-20 14:14 UTC (permalink / raw)
  To: ALT Linux kernel packages development

Daniil,

On Thu, Nov 20, 2025 at 05:54:49PM +0400, Daniil Gnusarev wrote:
> This will allow the driver to run as a module.

Так он и так модуль.

> 
> Signed-off-by: Daniil Gnusarev <gnusarevda@basealt.ru>
> Do-not-upstream: this is a feature of Baikal-M
> ---
>  drivers/input/serio/serdev-serio.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/input/serio/serdev-serio.c b/drivers/input/serio/serdev-serio.c
> index 7fa23e1dedb5bb..88414ec49aeab7 100644
> --- a/drivers/input/serio/serdev-serio.c
> +++ b/drivers/input/serio/serdev-serio.c
> @@ -104,6 +104,7 @@ static const struct of_device_id ss_of_match[] = {
>  	{ .compatible = "serdev,serio" },
>  	{},
>  };
> +MODULE_DEVICE_TABLE(of, ss_of_match);
>  
>  static struct serdev_device_driver serdev_serio_drv = {
>  	.driver		= {
> -- 
> 2.42.2
> 
> _______________________________________________
> devel-kernel mailing list
> devel-kernel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel-kernel


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [d-kernel] [PATCH] [6.12] input: serio: add an alias to the sersev-serio driver
  2025-11-20 14:14 ` Vitaly Chikunov
@ 2025-11-20 14:33   ` Daniil Gnusarev
  2025-11-20 14:42     ` Vitaly Chikunov
  0 siblings, 1 reply; 4+ messages in thread
From: Daniil Gnusarev @ 2025-11-20 14:33 UTC (permalink / raw)
  To: Vitaly Chikunov, ALT Linux kernel packages development



On 20.11.2025 18:14, Vitaly Chikunov wrote:
> Daniil,
> 
> On Thu, Nov 20, 2025 at 05:54:49PM +0400, Daniil Gnusarev wrote:
>> This will allow the driver to run as a module.
> 
> Так он и так модуль.
> 

Нужно подправить этот модуль для загрузки по compatible строке.

>>
>> Signed-off-by: Daniil Gnusarev <gnusarevda@basealt.ru>
>> Do-not-upstream: this is a feature of Baikal-M
>> ---
>>   drivers/input/serio/serdev-serio.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/input/serio/serdev-serio.c b/drivers/input/serio/serdev-serio.c
>> index 7fa23e1dedb5bb..88414ec49aeab7 100644
>> --- a/drivers/input/serio/serdev-serio.c
>> +++ b/drivers/input/serio/serdev-serio.c
>> @@ -104,6 +104,7 @@ static const struct of_device_id ss_of_match[] = {
>>   	{ .compatible = "serdev,serio" },
>>   	{},
>>   };
>> +MODULE_DEVICE_TABLE(of, ss_of_match);
>>   
>>   static struct serdev_device_driver serdev_serio_drv = {
>>   	.driver		= {
>> -- 
>> 2.42.2
>>
>> _______________________________________________
>> devel-kernel mailing list
>> devel-kernel@lists.altlinux.org
>> https://lists.altlinux.org/mailman/listinfo/devel-kernel

-- 
Логотип <https://www.basealt.ru>
С уважением,
*Гнусарев Даниил*
Младший программист 2 категории
gnusarevda@basealt.ru <mailto:gnusarevda@basealt.ru>
<https://www.basealt.ru/> <https://t.me/basealtspo>
<https://vk.com/altlinux>
<https://rutube.ru/video/cad41154b8fd17aa3864b9f79944f78f/>
<https://habr.com/ru/companies/basealtspo/articles/>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [d-kernel] [PATCH] [6.12] input: serio: add an alias to the sersev-serio driver
  2025-11-20 14:33   ` Daniil Gnusarev
@ 2025-11-20 14:42     ` Vitaly Chikunov
  0 siblings, 0 replies; 4+ messages in thread
From: Vitaly Chikunov @ 2025-11-20 14:42 UTC (permalink / raw)
  To: Daniil Gnusarev; +Cc: ALT Linux kernel packages development

On Thu, Nov 20, 2025 at 06:33:34PM +0400, Daniil Gnusarev wrote:
> 
> 
> On 20.11.2025 18:14, Vitaly Chikunov wrote:
> > Daniil,
> > 
> > On Thu, Nov 20, 2025 at 05:54:49PM +0400, Daniil Gnusarev wrote:
> > > This will allow the driver to run as a module.
> > 
> > Так он и так модуль.
> > 
> 
> Нужно подправить этот модуль для загрузки по compatible строке.

Applied, thanks

> 
> > > 
> > > Signed-off-by: Daniil Gnusarev <gnusarevda@basealt.ru>
> > > Do-not-upstream: this is a feature of Baikal-M
> > > ---
> > >   drivers/input/serio/serdev-serio.c | 1 +
> > >   1 file changed, 1 insertion(+)
> > > 
> > > diff --git a/drivers/input/serio/serdev-serio.c b/drivers/input/serio/serdev-serio.c
> > > index 7fa23e1dedb5bb..88414ec49aeab7 100644
> > > --- a/drivers/input/serio/serdev-serio.c
> > > +++ b/drivers/input/serio/serdev-serio.c
> > > @@ -104,6 +104,7 @@ static const struct of_device_id ss_of_match[] = {
> > >   	{ .compatible = "serdev,serio" },
> > >   	{},
> > >   };
> > > +MODULE_DEVICE_TABLE(of, ss_of_match);
> > >   static struct serdev_device_driver serdev_serio_drv = {
> > >   	.driver		= {
> > > -- 
> > > 2.42.2
> > > 
> > > _______________________________________________
> > > devel-kernel mailing list
> > > devel-kernel@lists.altlinux.org
> > > https://lists.altlinux.org/mailman/listinfo/devel-kernel
> 
> -- 
> Логотип <https://www.basealt.ru>
> С уважением,
> *Гнусарев Даниил*
> Младший программист 2 категории
> gnusarevda@basealt.ru <mailto:gnusarevda@basealt.ru>
> <https://www.basealt.ru/> <https://t.me/basealtspo>
> <https://vk.com/altlinux>
> <https://rutube.ru/video/cad41154b8fd17aa3864b9f79944f78f/>
> <https://habr.com/ru/companies/basealtspo/articles/>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-11-20 14:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-20 13:54 [d-kernel] [PATCH] [6.12] input: serio: add an alias to the sersev-serio driver Daniil Gnusarev
2025-11-20 14:14 ` Vitaly Chikunov
2025-11-20 14:33   ` Daniil Gnusarev
2025-11-20 14:42     ` Vitaly Chikunov

ALT Linux kernel packages development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
		devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
	public-inbox-index devel-kernel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git