Sascha Sommer <saschasommer@freenet.de>
This program is free software; you can redistribute it and/or modify
Sascha Sommer <saschasommer@freenet.de>
This program is free software; you can redistribute it and/or modify
return em28xx_write_regs(dev, VINCTRL_REG, "\x11", 1);
}
return em28xx_write_regs(dev, VINCTRL_REG, "\x11", 1);
}
-static int em28xx_accumulator_set(struct em28xx *dev, u8 xmin, u8 xmax,
- u8 ymin, u8 ymax)
+int em28xx_accumulator_set(struct em28xx *dev, u8 xmin, u8 xmax, u8 ymin,
+ u8 ymax)
{
em28xx_coredbg("em28xx Scale: (%d,%d)-(%d,%d)\n", xmin, ymin, xmax, ymax);
{
em28xx_coredbg("em28xx Scale: (%d,%d)-(%d,%d)\n", xmin, ymin, xmax, ymax);
return em28xx_write_regs(dev, YMAX_REG, &ymax, 1);
}
return em28xx_write_regs(dev, YMAX_REG, &ymax, 1);
}
-static int em28xx_capture_area_set(struct em28xx *dev, u8 hstart, u8 vstart,
+int em28xx_capture_area_set(struct em28xx *dev, u8 hstart, u8 vstart,
return em28xx_write_regs(dev, OFLOW_REG, &overflow, 1);
}
return em28xx_write_regs(dev, OFLOW_REG, &overflow, 1);
}