Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 052e5004 authored by Santosh Mardi's avatar Santosh Mardi Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarSantosh Mardi <gsantosh@codeaurora.org>
parent 77e9e8d6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
// 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);

+2 −1
Original line number Diff line number Diff line
// 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);