linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Add module build support for timer driver
@ 2021-07-15  6:54 Chunyan Zhang
  2021-07-15  6:54 ` [PATCH v2 1/3] drivers/clocksource/timer-of: Remove __init markings Chunyan Zhang
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Chunyan Zhang @ 2021-07-15  6:54 UTC (permalink / raw)
  To: Daniel Lezcano, Thomas Gleixner
  Cc: Saravana Kannan, Baolin Wang, Orson Zhai, Chunyan Zhang,
	Chunyan Zhang, LKML

From: Chunyan Zhang <chunyan.zhang@unisoc.com>

This patchset was based on the previous one [1], and add a few
boilerplate macros for module build purpose according to comments
from Thomas Gleixner on the patch [2].

Also switch sprd timer driver to use the help macros for support
module build.

* Changes from v1:
- Removed TIMER_OF_DECLARE() from timer-sprd.c, and removed ifdef;
- Rebased on v5.14-rc1.

[1] https://lkml.org/lkml/2020/3/24/72
[2] https://www.spinics.net/lists/arm-kernel/msg826631.html

Chunyan Zhang (2):
  clocksource/drivers/timer-of: Add boilerplate macros for timer module
    driver
  clocksource/drivers/sprd: Add module support to Unisoc timer

Saravana Kannan (1):
  drivers/clocksource/timer-of: Remove __init markings

 drivers/clocksource/Kconfig      |  2 +-
 drivers/clocksource/timer-of.c   | 30 ++++++++++++++++++++++--------
 drivers/clocksource/timer-of.h   | 24 ++++++++++++++++++++++--
 drivers/clocksource/timer-sprd.c | 15 ++++++++++-----
 4 files changed, 55 insertions(+), 16 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2021-08-20  7:47 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-15  6:54 [PATCH v2 0/3] Add module build support for timer driver Chunyan Zhang
2021-07-15  6:54 ` [PATCH v2 1/3] drivers/clocksource/timer-of: Remove __init markings Chunyan Zhang
2021-08-01  6:17   ` kernel test robot
2021-08-12  6:39     ` Chunyan Zhang
2021-08-12  7:58       ` [kbuild-all] " Chen, Rong A
2021-08-12 14:49       ` Thomas Gleixner
2021-08-13  2:29         ` Chunyan Zhang
2021-08-13 13:33   ` Daniel Lezcano
2021-08-20  7:45     ` Chunyan Zhang
2021-07-15  6:54 ` [PATCH v2 2/3] clocksource/drivers/timer-of: Add boilerplate macros for timer module driver Chunyan Zhang
2021-07-15  6:54 ` [PATCH v2 3/3] clocksource/drivers/sprd: Add module support to Unisoc timer Chunyan Zhang
2021-08-13 16:00   ` Daniel Lezcano
2021-08-13 17:44     ` Saravana Kannan
2021-08-20  7:46     ` Chunyan Zhang

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).