summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAntonio Ospite <ao2@ao2.it>2015-04-28 13:11:25 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-09-03 12:08:05 +0200
commit23eb6f4016758b756b54704b359e3c51d425d6ab (patch)
treec77dacdec735b9274934dc2100cc672582770c61 /arch
parentb7565cc3321987e46d1f65f5b5eb3fb48268fdc2 (diff)
downloadlinux-23eb6f4016758b756b54704b359e3c51d425d6ab.tar.gz
linux-23eb6f4016758b756b54704b359e3c51d425d6ab.tar.bz2
linux-23eb6f4016758b756b54704b359e3c51d425d6ab.zip
MIPS: Netlogic: Fix 0x0x prefixes.
Fix the 0x0x prefix in integer constants, in this case the registers interval is actually 0x8065 .. 0x80A4 as confirmed some lines above in the code. Signed-off-by: Antonio Ospite <ao2@ao2.it> Cc: linux-mips@linux-mips.org Cc: Jiri Kosina <trivial@kernel.org> Patchwork: https://patchwork.linux-mips.org/patch/9908/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/netlogic/xlp/ahci-init-xlp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/netlogic/xlp/ahci-init-xlp2.c b/arch/mips/netlogic/xlp/ahci-init-xlp2.c
index 7b066a44e679..c11b9c7dc7c8 100644
--- a/arch/mips/netlogic/xlp/ahci-init-xlp2.c
+++ b/arch/mips/netlogic/xlp/ahci-init-xlp2.c
@@ -152,7 +152,7 @@ static const u8 sata_phy_config1[] = {
0xC9, 0xC9, 0x07, 0x07, 0x18, 0x18, 0x01, 0x01, 0x22, 0x00
};
-/* SATA PHY config for register block 2 0x0x8065 .. 0x0x80A4 */
+/* SATA PHY config for register block 2 0x8065 .. 0x80A4 */
static const u8 sata_phy_config2[] = {
0xAA, 0x00, 0x4C, 0xC9, 0xC9, 0x07, 0x07, 0x18,
0x18, 0x05, 0x0C, 0x10, 0x00, 0x10, 0x00, 0xFF,