mux: correct prototype for mux_control_try_select()
authorPatrick Wildt <patrick@blueri.se>
Tue, 13 Jul 2021 21:02:18 +0000 (23:02 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 23 Jul 2021 11:13:25 +0000 (07:13 -0400)
commit0523326af4e505d837968a5694c99c0ee1d0041c
tree8c8b8a3233bbc0545a0c0433ce1eb13627c8582b
parentd3c1b514dc4774d14150cba9a19de22cc2a37e7a
mux: correct prototype for mux_control_try_select()

The macro should be passed a state, which should be passed
to the actual function.  Otherwise using that macro would
yield a build error.

Signed-off-by: Patrick Wildt <patrick@blueri.se>
Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
include/mux.h