/alps/ipecamera

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/ipecamera

« back to all changes in this revision

Viewing changes to model.c

  • Committer: Suren A. Chilingaryan
  • Date: 2015-05-02 12:46:12 UTC
  • Revision ID: csa@suren.me-20150502124612-payy2fjmj1zxqhbq
Provide version information as required by new pcilib interface

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
#include "base.h"
7
7
#include "cmosis.h"
8
8
#include "model.h"
 
9
#include "version.h"
9
10
 
10
11
enum ipecamera_protocol_s {
11
12
    IPECAMERA_PROTOCOL_CMOSIS = PCILIB_REGISTER_PROTOCOL0,
13
14
 
14
15
 
15
16
static const pcilib_register_protocol_api_description_t ipecamera_cmosis_protocol_api =
16
 
    { NULL, NULL, ipecamera_cmosis_read, ipecamera_cmosis_write };
 
17
    { IPECAMERA_VERSION, NULL, NULL, ipecamera_cmosis_read, ipecamera_cmosis_write };
17
18
 
18
19
/*
19
20
static const pcilib_dma_description_t ipecamera_dma =
150
151
};
151
152
 
152
153
pcilib_event_api_description_t ipecamera_image_api = {
 
154
    IPECAMERA_VERSION,
 
155
 
153
156
    ipecamera_init,
154
157
    ipecamera_free,
155
158