scmi: Suppress a couple of -Wunused-function warnings

No functional change intended.

Sponsored by:	Klara, Inc.
This commit is contained in:
Mark Johnston 2023-02-24 13:40:58 -05:00
parent 2c709ee70a
commit 19a7cf0ce8

View File

@ -58,7 +58,7 @@ struct scmi_clknode_softc {
int clock_id;
};
static int
static int __unused
scmi_clk_get_rate(struct scmi_clk_softc *sc, int clk_id, uint64_t *rate)
{
struct scmi_clk_rate_get_out out;
@ -117,7 +117,7 @@ scmi_clk_set_rate(struct scmi_clk_softc *sc, int clk_id, uint64_t rate)
return (0);
}
static int
static int __unused
scmi_clk_gate(struct scmi_clk_softc *sc, int clk_id, int enable)
{
struct scmi_clk_state_out out;