Advertisement
wiktorek140

Untitled

Jul 24th, 2018
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #ifndef MODULE
  2. extern int radio_hci_smd_init(void);
  3.  
  4. static int iris_fops_open(struct file *f) {
  5. if (transport_ready < 0) {
  6. transport_ready = radio_hci_smd_init();
  7. }
  8. return transport_ready;
  9. }
  10. #else
  11. extern int radio_hci_smd_init(void);
  12. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement