3 @@ -430,10 +430,10 @@ typedef struct
4 int (*DeviceFindInfo)(int Inst, const char *DeviceName, void *DeviceInfo);
5 int (*DeviceFindParmUint)(void *DeviceInfo, const char *Parm, bit32u *Value);
6 int (*DeviceFindParmValue)(void *DeviceInfo, const char *Parm, void *Value);
7 - void (*Free)(void *MemPtr);
8 + void (*Free)(const void *MemPtr);
9 void (*FreeRxBuffer)(OS_RECEIVEINFO *OsReceiveInfo, void *MemPtr);
10 - void (*FreeDev)(void *MemPtr);
11 - void (*FreeDmaXfer)(void *MemPtr);
12 + void (*FreeDev)(const void *MemPtr);
13 + void (*FreeDmaXfer)(const void *MemPtr);
14 void (*IsrRegister)(OS_DEVICE *OsDev, int (*halISR)(HAL_DEVICE*, int*), int InterruptBit);
15 void (*IsrUnRegister)(OS_DEVICE *OsDev, int InterruptBit);
16 void* (*Malloc)(bit32u size);
17 --- a/cpswhal_cpaal5.h
18 +++ b/cpswhal_cpaal5.h
19 @@ -430,10 +430,10 @@ typedef struct
20 int (*DeviceFindInfo)(int Inst, const char *DeviceName, void *DeviceInfo);
21 int (*DeviceFindParmUint)(void *DeviceInfo, const char *Parm, bit32u *Value);
22 int (*DeviceFindParmValue)(void *DeviceInfo, const char *Parm, void *Value);
23 - void (*Free)(void *MemPtr);
24 + void (*Free)(const void *MemPtr);
25 void (*FreeRxBuffer)(OS_RECEIVEINFO *OsReceiveInfo, void *MemPtr);
26 - void (*FreeDev)(void *MemPtr);
27 - void (*FreeDmaXfer)(void *MemPtr);
28 + void (*FreeDev)(const void *MemPtr);
29 + void (*FreeDmaXfer)(const void *MemPtr);
30 void (*IsrRegister)(OS_DEVICE *OsDev, int (*halISR)(HAL_DEVICE*, int*), int InterruptBit);
31 void (*IsrUnRegister)(OS_DEVICE *OsDev, int InterruptBit);
32 void* (*Malloc)(bit32u size);
35 @@ -2481,7 +2481,7 @@ static int tn7atm_proc_qos_read(struct s
39 -static int tn7atm_proc_qos_write(struct file *fp, const char *buf, unsigned long count, void *data)
40 +static int tn7atm_proc_qos_write(struct file *fp, const char *buf, size_t count, loff_t *data)
46 @@ -1712,7 +1712,7 @@ static int tn7dsl_proc_stats_open(struct
47 return single_open(file, tn7dsl_proc_stats, PDE_DATA(inode));
50 -int tn7dsl_proc_write_stats (struct file *fp, const char *buf, unsigned long count, void *data);
51 +int tn7dsl_proc_write_stats (struct file *fp, const char *buf, size_t count, loff_t *data);
53 struct file_operations tn7dsl_proc_stats_fops = {
55 @@ -4256,7 +4256,7 @@ int tn7dsl_generic_write( int offsetnum,
58 int tn7dsl_proc_write_stats (struct file *fp, const char *buf,
59 - unsigned long count, void *data)
60 + size_t count, loff_t *data)