diff options
author | John Crispin <john@openwrt.org> | 2008-06-23 20:31:34 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2008-06-23 20:31:34 +0000 |
commit | 6e266198e9034d322b7afdc326a74ed6ad25c1df (patch) | |
tree | 3ac89d6837288b26a794bed8ca202b411f9d054e /target/linux/ifxmips/files/drivers/char/ifxmips_ssc.c | |
parent | 81af6da03766b83a47347e7509fd6e6829ac8569 (diff) | |
download | mtk-20170518-6e266198e9034d322b7afdc326a74ed6ad25c1df.zip mtk-20170518-6e266198e9034d322b7afdc326a74ed6ad25c1df.tar.gz mtk-20170518-6e266198e9034d322b7afdc326a74ed6ad25c1df.tar.bz2 |
lots of code cleanup for ifxmips
SVN-Revision: 11570
Diffstat (limited to 'target/linux/ifxmips/files/drivers/char/ifxmips_ssc.c')
-rw-r--r-- | target/linux/ifxmips/files/drivers/char/ifxmips_ssc.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/ifxmips/files/drivers/char/ifxmips_ssc.c b/target/linux/ifxmips/files/drivers/char/ifxmips_ssc.c index 7b55a4d..35b32e8 100644 --- a/target/linux/ifxmips/files/drivers/char/ifxmips_ssc.c +++ b/target/linux/ifxmips/files/drivers/char/ifxmips_ssc.c @@ -73,7 +73,7 @@ static unsigned int ifx_ssc_get_kernel_clk (struct ifx_ssc_port *info); static void tx_int (struct ifx_ssc_port *); extern unsigned int ifxmips_get_fpi_hz (void); -extern void mask_and_ack_ifxmips_irq (unsigned int irq_nr); +extern void ifxmips_mask_and_ack_irq (unsigned int irq_nr); static inline unsigned int ifx_ssc_get_kernel_clk (struct ifx_ssc_port *info) @@ -297,9 +297,9 @@ ifx_ssc_abort (struct ifx_ssc_port *info) wake_up_interruptible (&info->rwait); // clear pending int's - mask_and_ack_ifxmips_irq(IFXMIPS_SSC_RIR); - mask_and_ack_ifxmips_irq(IFXMIPS_SSC_TIR); - mask_and_ack_ifxmips_irq(IFXMIPS_SSC_EIR); + ifxmips_mask_and_ack_irq(IFXMIPS_SSC_RIR); + ifxmips_mask_and_ack_irq(IFXMIPS_SSC_TIR); + ifxmips_mask_and_ack_irq(IFXMIPS_SSC_EIR); // clear error flags ifxmips_w32(IFX_SSC_WHBSTATE_CLR_ALL_ERROR, IFXMIPS_SSC_WHBSTATE); @@ -354,9 +354,9 @@ ifx_ssc_open (struct inode *inode, struct file *filp) ifxmips_w32(IFX_SSC_WHBSTATE_CLR_ALL_ERROR, IFXMIPS_SSC_WHBSTATE); // clear pending interrupts - mask_and_ack_ifxmips_irq(IFXMIPS_SSC_RIR); - mask_and_ack_ifxmips_irq(IFXMIPS_SSC_TIR); - mask_and_ack_ifxmips_irq(IFXMIPS_SSC_EIR); + ifxmips_mask_and_ack_irq(IFXMIPS_SSC_RIR); + ifxmips_mask_and_ack_irq(IFXMIPS_SSC_TIR); + ifxmips_mask_and_ack_irq(IFXMIPS_SSC_EIR); ifxmips_w32(IFX_SSC_WHBSTATE_SET_ENABLE, IFXMIPS_SSC_WHBSTATE); |