Commit 3becd97e authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Paul Burton

MIPS: Octeon: Fix a typo in #define OCTOEN_SERIAL_LEN

It should be OCTEON_SERIAL_LEN.
Update the #define and use it accordingly
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarPaul Burton <paul.burton@mips.com>
Cc: ralf@linux-mips.org
Cc: jhogan@kernel.org
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: kernel-janitors@vger.kernel.org
parent c59ae0a1
...@@ -51,7 +51,7 @@ extern void octeon_setup_delays(void); ...@@ -51,7 +51,7 @@ extern void octeon_setup_delays(void);
extern void octeon_io_clk_delay(unsigned long); extern void octeon_io_clk_delay(unsigned long);
#define OCTEON_ARGV_MAX_ARGS 64 #define OCTEON_ARGV_MAX_ARGS 64
#define OCTOEN_SERIAL_LEN 20 #define OCTEON_SERIAL_LEN 20
struct octeon_boot_descriptor { struct octeon_boot_descriptor {
#ifdef __BIG_ENDIAN_BITFIELD #ifdef __BIG_ENDIAN_BITFIELD
...@@ -102,7 +102,7 @@ struct octeon_boot_descriptor { ...@@ -102,7 +102,7 @@ struct octeon_boot_descriptor {
uint16_t chip_type; uint16_t chip_type;
uint8_t chip_rev_major; uint8_t chip_rev_major;
uint8_t chip_rev_minor; uint8_t chip_rev_minor;
char board_serial_number[OCTOEN_SERIAL_LEN]; char board_serial_number[OCTEON_SERIAL_LEN];
uint8_t mac_addr_base[6]; uint8_t mac_addr_base[6];
uint8_t mac_addr_count; uint8_t mac_addr_count;
uint64_t cvmx_desc_vaddr; uint64_t cvmx_desc_vaddr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment