uart: Fix uart_irq_callback_user_data_set usage
Now providing the struct device * to the callback. Fixes #26923 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
04d6d0b120
commit
701869fc48
6 changed files with 30 additions and 46 deletions
|
@ -784,10 +784,9 @@ static void ppp_uart_flush(struct device *dev)
|
|||
}
|
||||
}
|
||||
|
||||
static void ppp_uart_isr(void *user_data)
|
||||
static void ppp_uart_isr(struct device *uart, void *user_data)
|
||||
{
|
||||
struct ppp_driver_context *context = user_data;
|
||||
struct device *uart = context->dev;
|
||||
int rx = 0, ret;
|
||||
|
||||
/* get all of the data off UART as fast as we can */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue