I'm sorry if this is a newbie question. I searched the file and what I found was: PDE(inode)->data, do you mean to just replace that with PDE_DATA(inode)->data??
That's what I did and I'm still getting error
/tmp/tmp.qvjlE83cZN/toshiba_acpi.c: In function ‘version_proc_open’:
/tmp/tmp.qvjlE83cZN/toshiba_acpi.c:827:61: warning: dereferencing ‘void *’ pointer [enabled by default]
/tmp/tmp.qvjlE83cZN/toshiba_acpi.c:827:61: error: request for member ‘data’ in something not a structure or union
/tmp/tmp.qvjlE83cZN/toshiba_acpi.c:828:1: warning: control reaches end of non-void function [-Wreturn-type]
@Roberto Grassi,
I'm sorry if this is a newbie question. I searched the file and what I found was: PDE(inode)->data, do you mean to just replace that with PDE_DATA( inode)- >data??
That's what I did and I'm still getting error qvjlE83cZN/ toshiba_ acpi.c: In function ‘version_ proc_open’ : qvjlE83cZN/ toshiba_ acpi.c: 827:61: warning: dereferencing ‘void *’ pointer [enabled by default] qvjlE83cZN/ toshiba_ acpi.c: 827:61: error: request for member ‘data’ in something not a structure or union qvjlE83cZN/ toshiba_ acpi.c: 828:1: warning: control reaches end of non-void function [-Wreturn-type]
/tmp/tmp.
/tmp/tmp.
/tmp/tmp.
/tmp/tmp.
Thank you in advance.