Advertisement
Guest User

Untitled

a guest
Mar 13th, 2014
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. int_port = gpio_request_ex("gt911_para", "int_port");
  2. if(!int_port){
  3. GTP_ERROR("Failed to request GPIO:%d, ERRNO:%d", (s32)int_port, int_port);
  4. ret = -ENODEV;
  5. }
  6. else
  7. {
  8. //GTP_GPIO_AS_INT(int_port);
  9. ts->client->irq = GTP_INT_IRQ;
  10. printk("IRQ PORT GTP: %d %u\n",ts->client->irq,ts->client->irq);
  11. }
  12.  
  13.  
  14. where
  15. #define GTP_INT_IRQ gpio_to_irq(int_port)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement