[PATCH v2 02/20] coresight: cpu_debug: define MODULE_DEVICE_TABLE

Suzuki K Poulose suzuki.poulose at arm.com
Wed Jul 15 12:25:09 EDT 2020


On 07/14/2020 06:48 AM, Tingwei Zhang wrote:
> Define a MODULE_DEVICE_TABLE for cpu_debug so module can
> be auto loaded on boot.
> 
> Signed-off-by: Tingwei Zhang <tingwei at codeaurora.org>
> ---
>   drivers/hwtracing/coresight/coresight-cpu-debug.c | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/hwtracing/coresight/coresight-cpu-debug.c b/drivers/hwtracing/coresight/coresight-cpu-debug.c
> index 96544b348c27..1d0880b3764a 100644
> --- a/drivers/hwtracing/coresight/coresight-cpu-debug.c
> +++ b/drivers/hwtracing/coresight/coresight-cpu-debug.c
> @@ -665,6 +665,8 @@ static const struct amba_id debug_ids[] = {
>   	{},
>   };
>   
> +MODULE_DEVICE_TABLE(amba, debug_ids);
> +

Reviewed-by: Suzuki K Poulose <suzuki.poulose at arm.com>



More information about the linux-arm-kernel mailing list