mirror of
https://github.com/linux-msm/cdba.git
synced 2026-02-25 13:11:56 -08:00
The power key dance is useful outside of alpaca, move it to device and modify the device interface to better suite this. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
14 lines
275 B
C
14 lines
275 B
C
#ifndef __ALPACA_H__
|
|
#define __ALPACA_H__
|
|
|
|
#include "device.h"
|
|
|
|
struct alpaca;
|
|
|
|
void *alpaca_open(struct device *dev);
|
|
int alpaca_power(struct device *dev, bool on);
|
|
void alpaca_usb(struct device *dev, bool on);
|
|
void alpaca_key(struct device *dev, int key, bool on);
|
|
|
|
#endif
|