Thanks for the help guys!! We found that the developer defined the another structure with same name in another module and including the file in his driver module.
2011/9/17 George <ganghe...@hotmail.com> > What is your print of device address? Check for bytes/word alignment. > > On 9月16日, 上午4时37分, CVS <cvs...@gmail.com> wrote: > > Or even better?... > > > > --in char driver init function.. > > struct hci_dev HciDev = NULL; > > > > HciDev = hci_alloc_dev(); > > //f1 & f2 are function defined in the char driver > > HciDev.send = f1; > > HciDev.open = f2; > > > > hci_register_dev(&HciDev); > > -- > unsubscribe: android-kernel+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-kernel > -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel