Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1198608 > unrolled thread

[PATCH] Input: axp20x-pek: Add module alias

Started byChen-Yu Tsai <wens@csie.org>
First post2015-08-03 09:50 +0200
Last post2015-08-04 11:10 +0200
Articles 5 — 4 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] Input: axp20x-pek: Add module alias Chen-Yu Tsai <wens@csie.org> - 2015-08-03 09:50 +0200
    Re: [linux-sunxi] [PATCH] Input: axp20x-pek: Add module alias Carlo Caione <carlo@caione.org> - 2015-08-03 10:00 +0200
      Re: [linux-sunxi] [PATCH] Input: axp20x-pek: Add module alias Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2015-08-03 22:40 +0200
    Re: [PATCH] Input: axp20x-pek: Add module alias Paul Bolle <pebolle@tiscali.nl> - 2015-08-04 10:50 +0200
      Re: [linux-sunxi] Re: [PATCH] Input: axp20x-pek: Add module alias Chen-Yu Tsai <wens@csie.org> - 2015-08-04 11:10 +0200

#1198608 — [PATCH] Input: axp20x-pek: Add module alias

FromChen-Yu Tsai <wens@csie.org>
Date2015-08-03 09:50 +0200
Subject[PATCH] Input: axp20x-pek: Add module alias
Message-ID<pTiFs-50N-27@gated-at.bofh.it>
Add a proper module alias so the driver can be autoloaded when the
parent axp20x mfd driver registers its cells.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 drivers/input/misc/axp20x-pek.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/input/misc/axp20x-pek.c b/drivers/input/misc/axp20x-pek.c
index 10e140af5aac..1ac898db303a 100644
--- a/drivers/input/misc/axp20x-pek.c
+++ b/drivers/input/misc/axp20x-pek.c
@@ -292,3 +292,4 @@ module_platform_driver(axp20x_pek_driver);
 MODULE_DESCRIPTION("axp20x Power Button");
 MODULE_AUTHOR("Carlo Caione <carlo@caione.org>");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:axp20x-pek");
-- 
2.5.0

--
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/

[toc] | [next] | [standalone]


#1198616 — Re: [linux-sunxi] [PATCH] Input: axp20x-pek: Add module alias

FromCarlo Caione <carlo@caione.org>
Date2015-08-03 10:00 +0200
SubjectRe: [linux-sunxi] [PATCH] Input: axp20x-pek: Add module alias
Message-ID<pTiP8-5c3-15@gated-at.bofh.it>
In reply to#1198608
On Mon, Aug 3, 2015 at 9:48 AM, Chen-Yu Tsai <wens@csie.org> wrote:
> Add a proper module alias so the driver can be autoloaded when the
> parent axp20x mfd driver registers its cells.
>
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>

Acked-by: Carlo Caione <carlo@caione.org>

Thanks,

-- 
Carlo Caione
--
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/

[toc] | [prev] | [next] | [standalone]


#1199248 — Re: [linux-sunxi] [PATCH] Input: axp20x-pek: Add module alias

FromDmitry Torokhov <dmitry.torokhov@gmail.com>
Date2015-08-03 22:40 +0200
SubjectRe: [linux-sunxi] [PATCH] Input: axp20x-pek: Add module alias
Message-ID<pTuGD-5xs-23@gated-at.bofh.it>
In reply to#1198616
On Mon, Aug 03, 2015 at 09:56:09AM +0200, Carlo Caione wrote:
> On Mon, Aug 3, 2015 at 9:48 AM, Chen-Yu Tsai <wens@csie.org> wrote:
> > Add a proper module alias so the driver can be autoloaded when the
> > parent axp20x mfd driver registers its cells.
> >
> > Signed-off-by: Chen-Yu Tsai <wens@csie.org>
> 
> Acked-by: Carlo Caione <carlo@caione.org>

Applied, thank you.

-- 
Dmitry
--
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/

[toc] | [prev] | [next] | [standalone]


#1199537

FromPaul Bolle <pebolle@tiscali.nl>
Date2015-08-04 10:50 +0200
Message-ID<pTG54-5oC-31@gated-at.bofh.it>
In reply to#1198608
On ma, 2015-08-03 at 15:48 +0800, Chen-Yu Tsai wrote:
> Add a proper module alias so the driver can be autoloaded when the
> parent axp20x mfd driver registers its cells.
> 
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>

> --- a/drivers/input/misc/axp20x-pek.c
> +++ b/drivers/input/misc/axp20x-pek.c

> +MODULE_ALIAS("platform:axp20x-pek");

Should this eventually go into stable?

The AXP20x Power Enable Key driver was added in v4.0, so this patch
could currently be relevant for the v4.1.y tree. (In that tree a "parent
MFD driver" appears to be present too.)


Paul Bolle
--
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/

[toc] | [prev] | [next] | [standalone]


#1199578 — Re: [linux-sunxi] Re: [PATCH] Input: axp20x-pek: Add module alias

FromChen-Yu Tsai <wens@csie.org>
Date2015-08-04 11:10 +0200
SubjectRe: [linux-sunxi] Re: [PATCH] Input: axp20x-pek: Add module alias
Message-ID<pTGoq-60Z-29@gated-at.bofh.it>
In reply to#1199537
On Tue, Aug 4, 2015 at 4:42 PM, Paul Bolle <pebolle@tiscali.nl> wrote:
> On ma, 2015-08-03 at 15:48 +0800, Chen-Yu Tsai wrote:
>> Add a proper module alias so the driver can be autoloaded when the
>> parent axp20x mfd driver registers its cells.
>>
>> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
>
>> --- a/drivers/input/misc/axp20x-pek.c
>> +++ b/drivers/input/misc/axp20x-pek.c
>
>> +MODULE_ALIAS("platform:axp20x-pek");
>
> Should this eventually go into stable?
>
> The AXP20x Power Enable Key driver was added in v4.0, so this patch
> could currently be relevant for the v4.1.y tree. (In that tree a "parent
> MFD driver" appears to be present too.)

(Since I forgot to add the stable tag,) I can submit it for inclusion
into stable after it's merged into Linus' tree.

ChenYu
--
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/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web