diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2013-01-22 06:59:30 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-02-01 04:00:22 -0500 |
commit | 7034228792cc561e79ff8600f02884bd4c80e287 (patch) | |
tree | 89b77af37d087d9de236fc5d21f60bf552d0a2c6 /arch/mips/netlogic/xlp | |
parent | 405ab01c70e18058d9c01a1256769a61fc65413e (diff) |
MIPS: Whitespace cleanup.
Having received another series of whitespace patches I decided to do this
once and for all rather than dealing with this kind of patches trickling
in forever.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/netlogic/xlp')
-rw-r--r-- | arch/mips/netlogic/xlp/nlm_hal.c | 4 | ||||
-rw-r--r-- | arch/mips/netlogic/xlp/usb-init.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/netlogic/xlp/nlm_hal.c b/arch/mips/netlogic/xlp/nlm_hal.c index 529e74742d9f..c68fd4026104 100644 --- a/arch/mips/netlogic/xlp/nlm_hal.c +++ b/arch/mips/netlogic/xlp/nlm_hal.c | |||
@@ -111,8 +111,8 @@ unsigned int nlm_get_core_frequency(int node, int core) | |||
111 | dfsval = nlm_read_sys_reg(sysbase, SYS_CORE_DFS_DIV_VALUE); | 111 | dfsval = nlm_read_sys_reg(sysbase, SYS_CORE_DFS_DIV_VALUE); |
112 | pll_divf = ((rstval >> 10) & 0x7f) + 1; | 112 | pll_divf = ((rstval >> 10) & 0x7f) + 1; |
113 | pll_divr = ((rstval >> 8) & 0x3) + 1; | 113 | pll_divr = ((rstval >> 8) & 0x3) + 1; |
114 | ext_div = ((rstval >> 30) & 0x3) + 1; | 114 | ext_div = ((rstval >> 30) & 0x3) + 1; |
115 | dfs_div = ((dfsval >> (core * 4)) & 0xf) + 1; | 115 | dfs_div = ((dfsval >> (core * 4)) & 0xf) + 1; |
116 | 116 | ||
117 | num = 800000000ULL * pll_divf; | 117 | num = 800000000ULL * pll_divf; |
118 | denom = 3 * pll_divr * ext_div * dfs_div; | 118 | denom = 3 * pll_divr * ext_div * dfs_div; |
diff --git a/arch/mips/netlogic/xlp/usb-init.c b/arch/mips/netlogic/xlp/usb-init.c index dbe083a93538..1d0b66c62fd1 100644 --- a/arch/mips/netlogic/xlp/usb-init.c +++ b/arch/mips/netlogic/xlp/usb-init.c | |||
@@ -52,7 +52,7 @@ static void nlm_usb_intr_en(int node, int port) | |||
52 | port_addr = nlm_get_usb_regbase(node, port); | 52 | port_addr = nlm_get_usb_regbase(node, port); |
53 | val = nlm_read_usb_reg(port_addr, USB_INT_EN); | 53 | val = nlm_read_usb_reg(port_addr, USB_INT_EN); |
54 | val = USB_CTRL_INTERRUPT_EN | USB_OHCI_INTERRUPT_EN | | 54 | val = USB_CTRL_INTERRUPT_EN | USB_OHCI_INTERRUPT_EN | |
55 | USB_OHCI_INTERRUPT1_EN | USB_CTRL_INTERRUPT_EN | | 55 | USB_OHCI_INTERRUPT1_EN | USB_CTRL_INTERRUPT_EN | |
56 | USB_OHCI_INTERRUPT_EN | USB_OHCI_INTERRUPT2_EN; | 56 | USB_OHCI_INTERRUPT_EN | USB_OHCI_INTERRUPT2_EN; |
57 | nlm_write_usb_reg(port_addr, USB_INT_EN, val); | 57 | nlm_write_usb_reg(port_addr, USB_INT_EN, val); |
58 | } | 58 | } |