mirror of
https://github.com/linux-msm/cdba.git
synced 2026-02-25 13:11:56 -08:00
Squash the power_on and power_off into a single "power" function, to harmonize the code wrt the USB handling. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
13 lines
241 B
C
13 lines
241 B
C
#ifndef __CONMUX_H__
|
|
#define __CONMUX_H__
|
|
|
|
#include "device.h"
|
|
|
|
struct conmux;
|
|
|
|
void *conmux_open(struct device *dev);
|
|
int conmux_power(struct device *dev, bool on);
|
|
int conmux_write(struct device *dev, const void *buf, size_t len);
|
|
|
|
#endif
|