irq: Change dynamic API to take a constant parameter
All ISRs are meant to take a const struct device pointer, but to simplify the change let's just move the parameter to constant and that should be fine. Fixes #27399 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
4b9134d8d2
commit
6df8b3995e
6 changed files with 16 additions and 14 deletions
|
@ -63,8 +63,8 @@ extern "C" {
|
|||
*/
|
||||
static inline int
|
||||
irq_connect_dynamic(unsigned int irq, unsigned int priority,
|
||||
void (*routine)(void *parameter), void *parameter,
|
||||
uint32_t flags)
|
||||
void (*routine)(const void *parameter),
|
||||
const void *parameter, uint32_t flags)
|
||||
{
|
||||
return arch_irq_connect_dynamic(irq, priority, routine, parameter,
|
||||
flags);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue