OSDN Git Service

i2c:smbus_eeprom: Add a size constant for the smbus_eeprom size
authorCorey Minyard <cminyard@mvista.com>
Thu, 8 Nov 2018 17:54:15 +0000 (11:54 -0600)
committerCorey Minyard <cminyard@mvista.com>
Thu, 28 Feb 2019 03:06:08 +0000 (21:06 -0600)
commit0cf487e5bd802fccb7db9d47fdf3dad15deb273e
tree1c0450d13c0af83a68ef805b612b7a147bba12f6
parentb398a92440ef8283532b0cd3ec0197993232f28f
i2c:smbus_eeprom: Add a size constant for the smbus_eeprom size

It was hard-coded to 256 in a number of places, create a constant
for that.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/i2c/smbus_eeprom.c