mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
![Dmitry Eremin-Solenikov](/assets/img/avatar_default.png)
PWER settings logically belongs neither to GPIO nor to system IRQ code. Add special functions to handle PWER (for GPIO and for system IRQs) from platform code. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
15 lines
427 B
C
15 lines
427 B
C
#ifndef SOC_SA1100_PWER_H
|
|
#define SOC_SA1100_PWER_H
|
|
|
|
/*
|
|
* Copyright (C) 2015, Dmitry Eremin-Solenikov
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
int sa11x0_gpio_set_wake(unsigned int gpio, unsigned int on);
|
|
int sa11x0_sc_set_wake(unsigned int irq, unsigned int on);
|
|
|
|
#endif
|