[ARM] netwinder: clean up GPIO naming
Netwinder was using gpio_xxx names which could clash with the GPIO layer. Add a 'nw_' prefix to ensure that these remain separate. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
这个提交包含在:
@@ -1483,16 +1483,14 @@ static void __exit unload_waveartist(struct address_info *hw)
|
||||
#define VNC_HANDSET_DETECT 0x40
|
||||
#define VNC_DISABLE_AUTOSWITCH 0x80
|
||||
|
||||
extern spinlock_t gpio_lock;
|
||||
|
||||
static inline void
|
||||
vnc_mute_spkr(wavnc_info *devc)
|
||||
{
|
||||
unsigned long flags;
|
||||
|
||||
spin_lock_irqsave(&gpio_lock, flags);
|
||||
cpld_modify(CPLD_UNMUTE, devc->spkr_mute_state ? 0 : CPLD_UNMUTE);
|
||||
spin_unlock_irqrestore(&gpio_lock, flags);
|
||||
spin_lock_irqsave(&nw_gpio_lock, flags);
|
||||
nw_cpld_modify(CPLD_UNMUTE, devc->spkr_mute_state ? 0 : CPLD_UNMUTE);
|
||||
spin_unlock_irqrestore(&nw_gpio_lock, flags);
|
||||
}
|
||||
|
||||
static void
|
||||
|
在新工单中引用
屏蔽一个用户