2011-03-07 02:58:08

by Axel Lin

[permalink] [raw]
Subject: [PATCH 1/3] mfd: twl4030-madc: add "platform:" prefix for platform modalias

Since 43cc71eed1250755986da4c0f9898f9a635cb3bf (platform: prefix MODALIAS
with "platform:"), the platform modalias is prefixed with "platform:".

Signed-off-by: Axel Lin <[email protected]>
---
drivers/mfd/twl4030-madc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mfd/twl4030-madc.c b/drivers/mfd/twl4030-madc.c
index e9884e2..3941ddc 100644
--- a/drivers/mfd/twl4030-madc.c
+++ b/drivers/mfd/twl4030-madc.c
@@ -799,4 +799,4 @@ module_exit(twl4030_madc_exit);
MODULE_DESCRIPTION("TWL4030 ADC driver");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("J Keerthy");
-MODULE_ALIAS("twl4030_madc");
+MODULE_ALIAS("platform:twl4030_madc");
--
1.7.2



2011-03-07 03:00:04

by Axel Lin

[permalink] [raw]
Subject: [PATCH 2/3] mtd: add "platform:" prefix for platform modalias

Since 43cc71eed1250755986da4c0f9898f9a635cb3bf (platform: prefix MODALIAS
with "platform:"), the platform modalias is prefixed with "platform:".

Signed-off-by: Axel Lin <[email protected]>
Cc: Jian Zhang <[email protected]>
Cc: Vimal Singh <[email protected]>
Cc: Kyungmin Park <[email protected]>
Cc: Jarkko Lavinen <[email protected]>
---
drivers/mtd/nand/omap2.c | 2 +-
drivers/mtd/onenand/generic.c | 2 +-
drivers/mtd/onenand/omap2.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c
index 4e33972..7b8f1ff 100644
--- a/drivers/mtd/nand/omap2.c
+++ b/drivers/mtd/nand/omap2.c
@@ -1159,6 +1159,6 @@ static void __exit omap_nand_exit(void)
module_init(omap_nand_init);
module_exit(omap_nand_exit);

-MODULE_ALIAS(DRIVER_NAME);
+MODULE_ALIAS("platform:" DRIVER_NAME);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Glue layer for NAND flash on TI OMAP boards");
diff --git a/drivers/mtd/onenand/generic.c b/drivers/mtd/onenand/generic.c
index e789149..ac08750 100644
--- a/drivers/mtd/onenand/generic.c
+++ b/drivers/mtd/onenand/generic.c
@@ -131,7 +131,7 @@ static struct platform_driver generic_onenand_driver = {
.remove = __devexit_p(generic_onenand_remove),
};

-MODULE_ALIAS(DRIVER_NAME);
+MODULE_ALIAS("platform:" DRIVER_NAME);

static int __init generic_onenand_init(void)
{
diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/omap2.c
index ec26399..14a49ab 100644
--- a/drivers/mtd/onenand/omap2.c
+++ b/drivers/mtd/onenand/omap2.c
@@ -840,7 +840,7 @@ static void __exit omap2_onenand_exit(void)
module_init(omap2_onenand_init);
module_exit(omap2_onenand_exit);

-MODULE_ALIAS(DRIVER_NAME);
+MODULE_ALIAS("platform:" DRIVER_NAME);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Jarkko Lavinen <[email protected]>");
MODULE_DESCRIPTION("Glue layer for OneNAND flash on OMAP2 / OMAP3");
--
1.7.2


2011-03-07 03:01:09

by Axel Lin

[permalink] [raw]
Subject: [PATCH 3/3] hwmon: twl4030-madc-hwmon: add "platform:" prefix for platform modalias

Since 43cc71eed1250755986da4c0f9898f9a635cb3bf (platform: prefix MODALIAS
with "platform:"), the platform modalias is prefixed with "platform:".

Signed-off-by: Axel Lin <[email protected]>
---
drivers/hwmon/twl4030-madc-hwmon.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/hwmon/twl4030-madc-hwmon.c b/drivers/hwmon/twl4030-madc-hwmon.c
index 97e22be..de58191 100644
--- a/drivers/hwmon/twl4030-madc-hwmon.c
+++ b/drivers/hwmon/twl4030-madc-hwmon.c
@@ -154,4 +154,4 @@ module_exit(twl4030_madc_hwmon_exit);
MODULE_DESCRIPTION("TWL4030 ADC Hwmon driver");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("J Keerthy");
-MODULE_ALIAS("twl4030_madc_hwmon");
+MODULE_ALIAS("platform:twl4030_madc_hwmon");
--
1.7.2


2011-03-08 01:24:16

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 3/3] hwmon: twl4030-madc-hwmon: add "platform:" prefix for platform modalias

On Sun, Mar 06, 2011 at 10:05:33PM -0500, Axel Lin wrote:
> Since 43cc71eed1250755986da4c0f9898f9a635cb3bf (platform: prefix MODALIAS
> with "platform:"), the platform modalias is prefixed with "platform:".
>
> Signed-off-by: Axel Lin <[email protected]>

Acked-by: Guenter Roeck <[email protected]>

2011-03-08 11:03:19

by Artem Bityutskiy

[permalink] [raw]
Subject: Re: [PATCH 2/3] mtd: add "platform:" prefix for platform modalias

On Mon, 2011-03-07 at 11:04 +0800, Axel Lin wrote:
> Since 43cc71eed1250755986da4c0f9898f9a635cb3bf (platform: prefix MODALIAS
> with "platform:"), the platform modalias is prefixed with "platform:".
>
> Signed-off-by: Axel Lin <[email protected]>
> Cc: Jian Zhang <[email protected]>
> Cc: Vimal Singh <[email protected]>
> Cc: Kyungmin Park <[email protected]>
> Cc: Jarkko Lavinen <[email protected]>

Pushed to l2-mtd-2.6.git, thanks!

--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

2011-03-14 10:23:07

by Samuel Ortiz

[permalink] [raw]
Subject: Re: [PATCH 1/3] mfd: twl4030-madc: add "platform:" prefix for platform modalias

Hi Axel,

On Mon, Mar 07, 2011 at 11:02:29AM +0800, Axel Lin wrote:
> Since 43cc71eed1250755986da4c0f9898f9a635cb3bf (platform: prefix MODALIAS
> with "platform:"), the platform modalias is prefixed with "platform:".
Patch applied, thanks a bunch.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/

2011-03-28 06:44:27

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 3/3] hwmon: twl4030-madc-hwmon: add "platform:" prefix for platform modalias

On Mon, Mar 07, 2011 at 11:05:33AM +0800, Axel Lin wrote:
> Since 43cc71eed1250755986da4c0f9898f9a635cb3bf (platform: prefix MODALIAS
> with "platform:"), the platform modalias is prefixed with "platform:".
>
> Signed-off-by: Axel Lin <[email protected]>

Cc: J Keerthy <[email protected]>
Cc: Samuel Ortiz <[email protected]>

Looks like this fell through the cracks. Applied.

Thanks,
Guenter

> ---
> drivers/hwmon/twl4030-madc-hwmon.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/hwmon/twl4030-madc-hwmon.c b/drivers/hwmon/twl4030-madc-hwmon.c
> index 97e22be..de58191 100644
> --- a/drivers/hwmon/twl4030-madc-hwmon.c
> +++ b/drivers/hwmon/twl4030-madc-hwmon.c
> @@ -154,4 +154,4 @@ module_exit(twl4030_madc_hwmon_exit);
> MODULE_DESCRIPTION("TWL4030 ADC Hwmon driver");
> MODULE_LICENSE("GPL");
> MODULE_AUTHOR("J Keerthy");
> -MODULE_ALIAS("twl4030_madc_hwmon");
> +MODULE_ALIAS("platform:twl4030_madc_hwmon");
> --
> 1.7.2
>
>
>
>