Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
beagleboneblack:nuncuhk [2015/11/06 11:27]
ptitiano [Requiments]
beagleboneblack:nuncuhk [2015/11/12 04:48] (current)
jbertomeu
Line 286: Line 286:
     return (handle_error(ret));​     return (handle_error(ret));​
   udelay(1000);​   udelay(1000);​
-  /* Second ​initialisation ​*/+  /* Second ​initialization ​*/
   buff[0] = 0xFB;   buff[0] = 0xFB;
   buff[1] = 0x00;   buff[1] = 0x00;
Line 297: Line 297:
   i2c_set_clientdata(client,​ nunchuk);   i2c_set_clientdata(client,​ nunchuk);
   input = polled_input->​input;​   input = polled_input->​input;​
-  input->​dev.parent = &​client->​dev;​+  input->​dev.parent = &(client->​dev);
  
   input->​name = "Wii Nunchuk";​   input->​name = "Wii Nunchuk";​
Recent changes RSS feed Creative Commons License Donate Minima Template by Wikidesign Driven by DokuWiki