Convert some serial drivers to use use irq_attach.

This commit is contained in:
Gregory Nutt
2017-02-27 08:55:21 -06:00
parent b651e73057
commit 4cd31be19d
10 changed files with 50 additions and 211 deletions
@@ -138,7 +138,7 @@ struct cc3000_config_s
* probe - Debug support
*/
int (*irq_attach)(FAR struct cc3000_config_s *state, xcpt_t isr);
int (*irq_attach)(FAR struct cc3000_config_s *state, xcpt_t isr, FAR void *arg);
void (*irq_enable)(FAR struct cc3000_config_s *state, bool enable);
void (*irq_clear)(FAR struct cc3000_config_s *state);
void (*power_enable)(FAR struct cc3000_config_s *state,bool enable);