error: dereferencing pointer to incomplete type
Hi All
I got an eval board MPC8641 I want to access one register for that Code:
yy.c Code:
xx.h file Code:
yy.c file Dont know how to resolve this problem |
try changing
reg_value=in_be32(&gur->devdisr); to reg_value=in_be32(gur->devdisr); since gur is already a pointer and taking the address of it might not be good |
add this line to yy.c:
Code:
#include "xx.h" Code:
typedef struct ccsr_guts { |
I have tried it already above 2 solution which NevemTeve & a4z has given but still same problem existing
& its not ccsr_guts its ccsr_guts_t if see above again .ANY OTHER SOLUTIONS |
quote more code. example:
xx.h Code:
/* xx.h */ Code:
/* yy.c */ |
All times are GMT -5. The time now is 08:34 PM. |