STMPE811 driver needs argument in interrupt handler

This commit is contained in:
Gregory Nutt
2017-02-27 11:41:48 -06:00
parent cb927e3226
commit a773f9412a
7 changed files with 35 additions and 58 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
/********************************************************************************************
* include/nuttx/input/stmpe811.h
*
* Copyright (C) 2012, 2015 Gregory Nutt. All rights reserved.
* Copyright (C) 2012, 2015, 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* References:
@@ -500,7 +500,7 @@ struct stmpe811_config_s
* clear - Acknowledge/clear any pending GPIO interrupt
*/
int (*attach)(FAR struct stmpe811_config_s *state, xcpt_t isr);
int (*attach)(FAR struct stmpe811_config_s *state, xcpt_t isr, FAR void *arg);
void (*enable)(FAR struct stmpe811_config_s *state, bool enable);
void (*clear)(FAR struct stmpe811_config_s *state);
};
-6
View File
@@ -235,12 +235,6 @@ int nrf24l01_register(FAR struct spi_dev_s *spi, FAR struct nrf24l01_config_s *c
int nrf24l01_init(FAR struct nrf24l01_dev_s *dev);
/************************************************************************************
* Get a pointer to the registered device
************************************************************************************/
FAR struct nrf24l01_dev_s * nrf24l01_getinstance(void);
/************************************************************************************
* Set the default TX address.
*