Rev 604 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
603 | giacomo | 1 | /* |
2 | * Project: S.Ha.R.K. |
||
3 | * |
||
4 | * Coordinators: |
||
5 | * Giorgio Buttazzo <giorgio@sssup.it> |
||
6 | * Paolo Gai <pj@gandalf.sssup.it> |
||
7 | * |
||
8 | * Authors : |
||
9 | * Giacomo Guidi <giacomo@gandalf.sssup.it> |
||
10 | * |
||
11 | * |
||
12 | * ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy) |
||
13 | * |
||
14 | * http://www.sssup.it |
||
15 | * http://retis.sssup.it |
||
16 | * http://shark.sssup.it |
||
17 | */ |
||
18 | |||
19 | /* Glue Layer for VideoDev 2.6 Driver */ |
||
20 | |||
21 | #include <kernel/kern.h> |
||
22 | |||
23 | extern int videodev_open_inode(int num); |
||
24 | |||
25 | int VIDEODEV26_open(int num) { |
||
26 | |||
27 | if (videodev_open_inode(num)) { |
||
28 | printk("VIDEODEV26 ERROR: Cannot open the VideoDev driver\n"); |
||
29 | return -1; |
||
30 | } |
||
31 | |||
32 | return 0; |
||
33 | |||
34 | } |