diff options
Diffstat (limited to 'src/southbridge')
-rw-r--r-- | src/southbridge/intel/bd82x6x/smbus.c | 4 | ||||
-rw-r--r-- | src/southbridge/intel/i82801ix/smbus.c | 4 | ||||
-rw-r--r-- | src/southbridge/intel/i82801jx/smbus.c | 4 | ||||
-rw-r--r-- | src/southbridge/intel/ibexpeak/smbus.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/southbridge/intel/bd82x6x/smbus.c b/src/southbridge/intel/bd82x6x/smbus.c index b251596667c3..4255a4739601 100644 --- a/src/southbridge/intel/bd82x6x/smbus.c +++ b/src/southbridge/intel/bd82x6x/smbus.c @@ -40,7 +40,7 @@ static int lsmbus_read_byte(struct device *dev, u8 address) return do_smbus_read_byte(res->base, device, address); } -static int lsmbus_write_byte(struct device *dev, u8 address, u8 val) +static int lsmbus_write_byte(struct device *dev, u8 address, u8 data) { u16 device; struct resource *res; @@ -50,7 +50,7 @@ static int lsmbus_write_byte(struct device *dev, u8 address, u8 val) pbus = get_pbus_smbus(dev); res = find_resource(pbus->dev, PCI_BASE_ADDRESS_4); - return do_smbus_write_byte(res->base, device, address, val); + return do_smbus_write_byte(res->base, device, address, data); } static struct smbus_bus_operations lops_smbus_bus = { diff --git a/src/southbridge/intel/i82801ix/smbus.c b/src/southbridge/intel/i82801ix/smbus.c index 72c31109906a..4f46217a2a5e 100644 --- a/src/southbridge/intel/i82801ix/smbus.c +++ b/src/southbridge/intel/i82801ix/smbus.c @@ -29,7 +29,7 @@ static int lsmbus_read_byte(struct device *dev, u8 address) return do_smbus_read_byte(res->base, device, address); } -static int lsmbus_write_byte(struct device *dev, u8 address, u8 val) +static int lsmbus_write_byte(struct device *dev, u8 address, u8 data) { u16 device; struct resource *res; @@ -39,7 +39,7 @@ static int lsmbus_write_byte(struct device *dev, u8 address, u8 val) pbus = get_pbus_smbus(dev); res = find_resource(pbus->dev, PCI_BASE_ADDRESS_4); - return do_smbus_write_byte(res->base, device, address, val); + return do_smbus_write_byte(res->base, device, address, data); } static struct smbus_bus_operations lops_smbus_bus = { diff --git a/src/southbridge/intel/i82801jx/smbus.c b/src/southbridge/intel/i82801jx/smbus.c index c92a2864a04c..c3a798a4e429 100644 --- a/src/southbridge/intel/i82801jx/smbus.c +++ b/src/southbridge/intel/i82801jx/smbus.c @@ -29,7 +29,7 @@ static int lsmbus_read_byte(struct device *dev, u8 address) return do_smbus_read_byte(res->base, device, address); } -static int lsmbus_write_byte(struct device *dev, u8 address, u8 val) +static int lsmbus_write_byte(struct device *dev, u8 address, u8 data) { u16 device; struct resource *res; @@ -39,7 +39,7 @@ static int lsmbus_write_byte(struct device *dev, u8 address, u8 val) pbus = get_pbus_smbus(dev); res = find_resource(pbus->dev, PCI_BASE_ADDRESS_4); - return do_smbus_write_byte(res->base, device, address, val); + return do_smbus_write_byte(res->base, device, address, data); } static int lsmbus_block_write(struct device *dev, u8 cmd, u8 bytes, diff --git a/src/southbridge/intel/ibexpeak/smbus.c b/src/southbridge/intel/ibexpeak/smbus.c index 56da504465ba..331021fab23d 100644 --- a/src/southbridge/intel/ibexpeak/smbus.c +++ b/src/southbridge/intel/ibexpeak/smbus.c @@ -39,7 +39,7 @@ static int lsmbus_read_byte(struct device *dev, u8 address) return do_smbus_read_byte(res->base, device, address); } -static int lsmbus_write_byte(struct device *dev, u8 address, u8 val) +static int lsmbus_write_byte(struct device *dev, u8 address, u8 data) { u16 device; struct resource *res; @@ -49,7 +49,7 @@ static int lsmbus_write_byte(struct device *dev, u8 address, u8 val) pbus = get_pbus_smbus(dev); res = find_resource(pbus->dev, PCI_BASE_ADDRESS_4); - return do_smbus_write_byte(res->base, device, address, val); + return do_smbus_write_byte(res->base, device, address, data); } static struct smbus_bus_operations lops_smbus_bus = { |