MIPS: Netlogic: Fix 0x0x prefixes.
authorAntonio Ospite <ao2@ao2.it>
Tue, 28 Apr 2015 11:11:25 +0000 (13:11 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 3 Sep 2015 10:08:05 +0000 (12:08 +0200)
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>
arch/mips/netlogic/xlp/ahci-init-xlp2.c

index 7b066a44e6798e71447e55633ff1cb8334a2948d..c11b9c7dc7c8ea1b96842716c74969dbdfc2131f 100644 (file)
@@ -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,