Philippe Mathieu-Daudé
faf026b2a2
hw/mips/malta: Use sdram_type enum from 'hw/i2c/smbus_eeprom.h'
...
Since commit 93198b6cad ("i2c: Split smbus into parts") the SDRAM
types are enumerated as sdram_type in "hw/i2c/smbus_eeprom.h".
Using the enum removes this global shadow warning:
hw/mips/malta.c:209:12: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
enum { SDR = 0x4, DDR2 = 0x8 } type;
^
include/hw/i2c/smbus_eeprom.h:33:19: note: previous declaration is here
enum sdram_type { SDR = 0x4, DDR = 0x7, DDR2 = 0x8 };
^
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231009092127.49778-1-philmd@linaro.org>
2023-10-20 14:46:06 +02:00
..
2023-08-29 10:49:24 +02:00
2023-10-05 09:01:01 -04:00
2023-06-20 10:01:30 +02:00
2023-05-26 09:10:49 +02:00
2023-10-18 10:01:01 +02:00
2023-10-10 12:31:05 +00:00
2022-04-06 14:31:55 +02:00
2023-10-06 10:33:43 +02:00
2023-10-12 12:35:36 +10:00
2023-10-20 14:46:06 +02:00
2023-09-21 11:31:16 +03:00
2021-05-02 17:24:51 +02:00
2023-10-06 10:56:54 +02:00
2023-10-18 10:10:49 +02:00
2023-09-21 11:31:16 +03:00
2023-08-22 17:30:59 +01:00
2023-09-15 17:34:38 +02:00
2023-03-13 15:39:31 +04:00
2023-09-29 10:07:19 +02:00
2023-10-18 10:01:01 +02:00
2023-10-06 13:16:57 +02:00
2023-10-03 10:29:40 +02:00
2023-10-12 12:20:24 +10:00
2023-06-20 10:01:30 +02:00
2023-09-21 11:31:16 +03:00
2023-10-04 18:15:05 -04:00
2023-10-13 10:04:52 +08:00
2023-10-06 10:33:43 +02:00
2023-10-12 14:15:22 +02:00
2023-09-29 10:07:16 +02:00
2023-10-20 14:46:06 +02:00
2023-10-16 12:36:55 -04:00
2023-10-06 10:56:54 +02:00
2023-09-29 10:07:16 +02:00
2023-09-08 13:08:51 +03:00
2023-09-29 10:07:20 +02:00
2023-10-03 10:29:39 +02:00
2023-03-22 15:06:57 +00:00
2023-10-04 18:15:06 -04:00
2023-10-04 18:15:06 -04:00
2023-09-29 09:33:10 +02:00
2023-06-20 10:01:30 +02:00
2023-10-04 11:03:54 -07:00
2023-10-12 14:11:44 +02:00
2023-10-18 10:01:01 +02:00
2023-10-12 12:20:24 +10:00
2023-09-21 11:31:16 +03:00
2023-09-21 11:31:16 +03:00
2023-09-12 11:13:33 +02:00
2023-10-05 09:01:01 -04:00
2023-10-20 14:46:06 +02:00
2023-08-31 19:47:43 +02:00
2023-09-21 11:31:16 +03:00
2023-09-29 10:07:18 +02:00
2023-07-25 17:14:07 +03:00
2023-07-10 18:59:32 -04:00
2023-09-21 11:31:16 +03:00
2023-09-29 10:07:19 +02:00
2023-09-20 07:54:34 +03:00
2023-09-29 08:28:02 +02:00
2023-10-13 13:56:28 +09:00
2023-10-06 13:27:48 +02:00
2023-10-18 10:10:49 +02:00
2023-10-17 10:05:51 -04:00
2023-06-20 10:01:30 +02:00
2023-10-18 10:01:01 +02:00
2023-03-24 14:52:14 +00:00
2023-09-08 13:08:52 +03:00
2023-09-07 14:01:29 -04:00
2023-09-07 14:01:29 -04:00