staging: comedi: hwdrv_apci3200: remove forward declarations
This source file is #include'd when building the addi_apci_3200 and addi_apci_3300 driver. All the functions in this file are actually static and should not be exported to the kernel. Move some of the functions to remove the need for the forward declarations and make all of the functions in this file static. Note, this patch does not try to fix any of the coding style issues in the functions. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
bbb19fc5a6
Коммит
fddc1ced98
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -152,39 +152,3 @@ struct str_BoardInfos {
|
|||
};
|
||||
|
||||
/* END JK 06.07.04: Management of sevrals boards */
|
||||
|
||||
/* Hardware Layer functions for Apci3200 */
|
||||
|
||||
/* AI */
|
||||
|
||||
int i_APCI3200_ConfigAnalogInput(struct comedi_device *dev, struct comedi_subdevice *s,
|
||||
struct comedi_insn *insn, unsigned int *data);
|
||||
int i_APCI3200_ReadAnalogInput(struct comedi_device *dev, struct comedi_subdevice *s,
|
||||
struct comedi_insn *insn, unsigned int *data);
|
||||
int i_APCI3200_InsnWriteReleaseAnalogInput(struct comedi_device *dev,
|
||||
struct comedi_subdevice *s,
|
||||
struct comedi_insn *insn, unsigned int *data);
|
||||
int i_APCI3200_InsnBits_AnalogInput_Test(struct comedi_device *dev,
|
||||
struct comedi_subdevice *s,
|
||||
struct comedi_insn *insn, unsigned int *data);
|
||||
int i_APCI3200_StopCyclicAcquisition(struct comedi_device *dev, struct comedi_subdevice *s);
|
||||
int i_APCI3200_InterruptHandleEos(struct comedi_device *dev);
|
||||
int i_APCI3200_CommandTestAnalogInput(struct comedi_device *dev, struct comedi_subdevice *s,
|
||||
struct comedi_cmd *cmd);
|
||||
int i_APCI3200_CommandAnalogInput(struct comedi_device *dev, struct comedi_subdevice *s);
|
||||
int i_APCI3200_ReadDigitalInput(struct comedi_device *dev, struct comedi_subdevice *s,
|
||||
struct comedi_insn *insn, unsigned int *data);
|
||||
/* Interrupt */
|
||||
void v_APCI3200_Interrupt(int irq, void *d);
|
||||
int i_APCI3200_InterruptHandleEos(struct comedi_device *dev);
|
||||
/* Reset functions */
|
||||
int i_APCI3200_Reset(struct comedi_device *dev);
|
||||
|
||||
int i_APCI3200_ReadCJCCalOffset(struct comedi_device *dev, unsigned int *data);
|
||||
int i_APCI3200_ReadCJCValue(struct comedi_device *dev, unsigned int *data);
|
||||
int i_APCI3200_ReadCalibrationGainValue(struct comedi_device *dev, unsigned int *data);
|
||||
int i_APCI3200_ReadCalibrationOffsetValue(struct comedi_device *dev, unsigned int *data);
|
||||
int i_APCI3200_Read1AnalogInputChannel(struct comedi_device *dev,
|
||||
struct comedi_subdevice *s, struct comedi_insn *insn,
|
||||
unsigned int *data);
|
||||
int i_APCI3200_ReadCJCCalGain(struct comedi_device *dev, unsigned int *data);
|
||||
|
|
Загрузка…
Ссылка в новой задаче