* [PATCH] spi: clps711x: Add MODULE_ALIAS to support module auto-loading
@ 2014-01-14 9:01 Axel Lin
2014-01-14 14:21 ` Mark Brown
0 siblings, 1 reply; 7+ messages in thread
From: Axel Lin @ 2014-01-14 9:01 UTC (permalink / raw)
To: Mark Brown; +Cc: Alexander Shiyan, linux-spi-u79uwXL29TY76Z2rM5mHXA
Signed-off-by: Axel Lin <axel.lin-8E1dMatC8ynQT0dZR+AlfA@public.gmane.org>
---
drivers/spi/spi-clps711x.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/spi/spi-clps711x.c b/drivers/spi/spi-clps711x.c
index dafb243..374ba4a 100644
--- a/drivers/spi/spi-clps711x.c
+++ b/drivers/spi/spi-clps711x.c
@@ -257,3 +257,4 @@ module_platform_driver(clps711x_spi_driver);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Alexander Shiyan <shc_work-JGs/UdohzUI@public.gmane.org>");
MODULE_DESCRIPTION("CLPS711X SPI bus driver");
+MODULE_ALIAS("platform:" DRIVER_NAME);
--
1.8.1.2
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] spi: clps711x: Add MODULE_ALIAS to support module auto-loading
2014-01-14 9:01 [PATCH] spi: clps711x: Add MODULE_ALIAS to support module auto-loading Axel Lin
@ 2014-01-14 14:21 ` Mark Brown
[not found] ` <20140114142159.GN15567-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Mark Brown @ 2014-01-14 14:21 UTC (permalink / raw)
To: Axel Lin; +Cc: Alexander Shiyan, linux-spi-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 153 bytes --]
On Tue, Jan 14, 2014 at 05:01:54PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin-8E1dMatC8ynQT0dZR+AlfA@public.gmane.org>
Applied, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] spi: clps711x: Add MODULE_ALIAS to support module auto-loading
[not found] ` <20140114142159.GN15567-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
@ 2014-01-14 17:22 ` Alexander Shiyan
[not found] ` <1389720129.337538528-tO/HdyGGtlvWO3iv0lnsqw@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Alexander Shiyan @ 2014-01-14 17:22 UTC (permalink / raw)
To: Mark Brown; +Cc: Axel Lin, linux-spi-u79uwXL29TY76Z2rM5mHXA
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 348 bytes --]
> On Tue, Jan 14, 2014 at 05:01:54PM +0800, Axel Lin wrote:
> > Signed-off-by: Axel Lin <axel.lin@ingics.com>
>
> Applied, thanks.
No dependencies on the driver for the other modules, which gives this change?
---
N§²æìr¸yúèØb²X¬¶Ç§vØ^)Þº{.nÇ+·¥{±²¢Ø^nr¡ö¦zË\x1aëh¨èÚ&¢îý»\x05ËÛÔØï¦v¬Îf\x1dp)¹¹br ê+Ê+zf£¢·h§~Ûiÿûàz¹\x1e®w¥¢¸?¨èÚ&¢)ߢ^[f
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] spi: clps711x: Add MODULE_ALIAS to support module auto-loading
[not found] ` <1389720129.337538528-tO/HdyGGtlvWO3iv0lnsqw@public.gmane.org>
@ 2014-01-14 17:41 ` Mark Brown
[not found] ` <20140114174100.GS15567-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Mark Brown @ 2014-01-14 17:41 UTC (permalink / raw)
To: Alexander Shiyan; +Cc: Axel Lin, linux-spi-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 491 bytes --]
On Tue, Jan 14, 2014 at 09:22:09PM +0400, Alexander Shiyan wrote:
> > On Tue, Jan 14, 2014 at 05:01:54PM +0800, Axel Lin wrote:
> > > Signed-off-by: Axel Lin <axel.lin-8E1dMatC8ynQT0dZR+AlfA@public.gmane.org>
> > Applied, thanks.
> No dependencies on the driver for the other modules, which gives this change?
I can't parse the above sorry? If you're asking how inter module
dependencies get resolved the module loader does this automatically
based on the symbols referenced in modules.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] spi: clps711x: Add MODULE_ALIAS to support module auto-loading
[not found] ` <20140114174100.GS15567-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
@ 2014-01-14 17:58 ` Alexander Shiyan
[not found] ` <1389722311.613593800-tO/HdyGGtlvWO3iv0lnsqw@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Alexander Shiyan @ 2014-01-14 17:58 UTC (permalink / raw)
To: Mark Brown; +Cc: Axel Lin, linux-spi-u79uwXL29TY76Z2rM5mHXA
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 861 bytes --]
ÐÑоÑник, 14 ÑнваÑÑ 2014, 17:41 UTC Ð¾Ñ Mark Brown <broonie@kernel.org>:
> On Tue, Jan 14, 2014 at 09:22:09PM +0400, Alexander Shiyan wrote:
> > > On Tue, Jan 14, 2014 at 05:01:54PM +0800, Axel Lin wrote:
> > > > Signed-off-by: Axel Lin <axel.lin@ingics.com>
>
> > > Applied, thanks.
>
> > No dependencies on the driver for the other modules, which gives this change?
>
> I can't parse the above sorry? If you're asking how inter module
> dependencies get resolved the module loader does this automatically
> based on the symbols referenced in modules.
Yes, but there are no modules that have clps711x-spi dependency.
I am not guru in module handling, just want to understand the need
to make this change.
---
N§²æìr¸yúèØb²X¬¶Ç§vØ^)Þº{.nÇ+·¥{±²¢Ø^nr¡ö¦zË\x1aëh¨èÚ&¢îý»\x05ËÛÔØï¦v¬Îf\x1dp)¹¹br ê+Ê+zf£¢·h§~Ûiÿûàz¹\x1e®w¥¢¸?¨èÚ&¢)ߢ^[f
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] spi: clps711x: Add MODULE_ALIAS to support module auto-loading
[not found] ` <1389722311.613593800-tO/HdyGGtlvWO3iv0lnsqw@public.gmane.org>
@ 2014-01-14 18:00 ` Mark Brown
[not found] ` <20140114180048.GU15567-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Mark Brown @ 2014-01-14 18:00 UTC (permalink / raw)
To: Alexander Shiyan; +Cc: Axel Lin, linux-spi-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 697 bytes --]
On Tue, Jan 14, 2014 at 09:58:31PM +0400, Alexander Shiyan wrote:
> Вторник, 14 января 2014, 17:41 UTC от Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>:
> > I can't parse the above sorry? If you're asking how inter module
> > dependencies get resolved the module loader does this automatically
> > based on the symbols referenced in modules.
> Yes, but there are no modules that have clps711x-spi dependency.
> I am not guru in module handling, just want to understand the need
> to make this change.
It's so that if the driver is built as a module if the device is present
in the system userspace can figure out which module to load to support
it.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] spi: clps711x: Add MODULE_ALIAS to support module auto-loading
[not found] ` <20140114180048.GU15567-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
@ 2014-01-14 18:04 ` Alexander Shiyan
0 siblings, 0 replies; 7+ messages in thread
From: Alexander Shiyan @ 2014-01-14 18:04 UTC (permalink / raw)
To: Mark Brown; +Cc: Axel Lin, linux-spi-u79uwXL29TY76Z2rM5mHXA
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 945 bytes --]
ÐÑоÑник, 14 ÑнваÑÑ 2014, 18:00 UTC Ð¾Ñ Mark Brown <broonie@kernel.org>:
> On Tue, Jan 14, 2014 at 09:58:31PM +0400, Alexander Shiyan wrote:
> > ÐÑоÑник, 14 ÑнваÑÑ 2014, 17:41 UTC Ð¾Ñ Mark Brown <broonie@kernel.org>:
>
> > > I can't parse the above sorry? If you're asking how inter module
> > > dependencies get resolved the module loader does this automatically
> > > based on the symbols referenced in modules.
>
> > Yes, but there are no modules that have clps711x-spi dependency.
> > I am not guru in module handling, just want to understand the need
> > to make this change.
>
> It's so that if the driver is built as a module if the device is present
> in the system userspace can figure out which module to load to support
> it.
OK, if so this makes sense. Thank you.
---
N§²æìr¸yúèØb²X¬¶Ç§vØ^)Þº{.nÇ+·¥{±²¢Ø^nr¡ö¦zË\x1aëh¨èÚ&¢îý»\x05ËÛÔØï¦v¬Îf\x1dp)¹¹br ê+Ê+zf£¢·h§~Ûiÿûàz¹\x1e®w¥¢¸?¨èÚ&¢)ߢ^[f
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-01-14 18:04 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-14 9:01 [PATCH] spi: clps711x: Add MODULE_ALIAS to support module auto-loading Axel Lin
2014-01-14 14:21 ` Mark Brown
[not found] ` <20140114142159.GN15567-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-01-14 17:22 ` Alexander Shiyan
[not found] ` <1389720129.337538528-tO/HdyGGtlvWO3iv0lnsqw@public.gmane.org>
2014-01-14 17:41 ` Mark Brown
[not found] ` <20140114174100.GS15567-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-01-14 17:58 ` Alexander Shiyan
[not found] ` <1389722311.613593800-tO/HdyGGtlvWO3iv0lnsqw@public.gmane.org>
2014-01-14 18:00 ` Mark Brown
[not found] ` <20140114180048.GU15567-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-01-14 18:04 ` Alexander Shiyan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.