1.适配标准CONFIG命令。
This commit is contained in:
@@ -101,7 +101,6 @@ static ssize_t mr_adc_read(struct mr_dev *dev, int off, void *buf, size_t size,
|
||||
static int mr_adc_ioctl(struct mr_dev *dev, int off, int cmd, void *args)
|
||||
{
|
||||
struct mr_adc *adc = (struct mr_adc *)dev;
|
||||
struct mr_adc_ops *ops = (struct mr_adc_ops *)dev->drv->ops;
|
||||
|
||||
switch (cmd)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user