drivers: soc: qcom: scmi_clients: add zero initialized entry in id table

SCMI core framework match id function expects zero initialized entry at
the end of id_match table. Add zero initialized entries in both memlat
and plh scmi client drivers.

Change-Id: I268ffc48fa07a42a052ea45c160f1e2ab21994ff
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
This commit is contained in:
Santosh Mardi 2021-05-24 12:20:39 +05:30 committed by Gerrit - the friendly Code Review server
parent 77e9e8d645
commit 052e50047a
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
* Copyright (c) 2020 - 2021, The Linux Foundation. All rights reserved.
*/
#include <linux/scmi_protocol.h>
@ -26,6 +26,7 @@ static int scmi_memlat_probe(struct scmi_device *sdev)
static const struct scmi_device_id scmi_id_table[] = {
{ SCMI_PROTOCOL_MEMLAT },
{ },
};
MODULE_DEVICE_TABLE(scmi, scmi_id_table);

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
* Copyright (c) 2020 - 2021, The Linux Foundation. All rights reserved.
*/
#include <linux/scmi_protocol.h>
@ -26,6 +26,7 @@ static int scmi_plh_probe(struct scmi_device *sdev)
static const struct scmi_device_id scmi_id_table[] = {
{ SCMI_PROTOCOL_PLH },
{ },
};
MODULE_DEVICE_TABLE(scmi, scmi_id_table);