|
Lines 58-63
Link Here
|
| 58 |
|
58 |
|
| 59 |
#include <linux/poll.h> |
59 |
#include <linux/poll.h> |
| 60 |
|
60 |
|
|
|
61 |
#ifndef __no_const |
| 62 |
#define __no_const |
| 63 |
typedef struct file_operations file_operations_no_const; |
| 64 |
#endif |
| 65 |
|
| 61 |
#define dahdi_pci_module pci_register_driver |
66 |
#define dahdi_pci_module pci_register_driver |
| 62 |
|
67 |
|
| 63 |
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) |
68 |
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) |
|
Lines 1060-1066
Link Here
|
| 1060 |
int numchannels; |
1065 |
int numchannels; |
| 1061 |
unsigned int srcfmts; |
1066 |
unsigned int srcfmts; |
| 1062 |
unsigned int dstfmts; |
1067 |
unsigned int dstfmts; |
| 1063 |
struct file_operations fops; |
1068 |
file_operations_no_const fops; |
| 1064 |
int (*allocate)(struct dahdi_transcoder_channel *channel); |
1069 |
int (*allocate)(struct dahdi_transcoder_channel *channel); |
| 1065 |
int (*release)(struct dahdi_transcoder_channel *channel); |
1070 |
int (*release)(struct dahdi_transcoder_channel *channel); |
| 1066 |
/* Transcoder channels */ |
1071 |
/* Transcoder channels */ |