On 2020-08-21 09:14, Tingwei Zhang wrote:
From: Kim Phillips <kim.phill...@arm.com>

Allow to build coresight-tmc as a module, for ease of development.

- Kconfig becomes a tristate, to allow =m
- append -core to source file name to allow module to
  be called coresight-tmc by the Makefile
- add an tmc_remove function, for module unload
- add a MODULE_DEVICE_TABLE for autoloading on boot

Cc: Mathieu Poirier <mathieu.poir...@linaro.org>
Cc: Leo Yan <leo....@linaro.org>
Cc: Alexander Shishkin <alexander.shish...@linux.intel.com>
Cc: Randy Dunlap <rdun...@infradead.org>
Cc: Suzuki K Poulose <suzuki.poul...@arm.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Cc: Russell King <li...@armlinux.org.uk>
Signed-off-by: Kim Phillips <kim.phill...@arm.com>
Signed-off-by: Tingwei Zhang <ting...@codeaurora.org>
Tested-by: Mike Leach <mike.le...@linaro.org>
Reviewed-by: Suzuki K Poulose <suzuki.poul...@arm.com>
Reviewed-by: Mathieu Poirier <mathieu.poir...@linaro.org>
---

Tested-by: Sai Prakash Ranjan <saiprakash.ran...@codeaurora.org>

--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation

Reply via email to