From 708fc274b54dfd13fb83edae17cea9ead0a0f2be Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Tue, 7 Mar 2017 12:18:53 -0800 Subject: src/include: Indent code using tabs Fix the following error and warning detected by checkpatch.pl: ERROR: code indent should use tabs where possible WARNING: please, no spaces at the start of a line TEST=Build and run on Galileo Gen2 Change-Id: I487771b8f4d7e104457116b772cd32df5cd721a6 Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/18646 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/include/device/dram/ddr3.h | 4 ++-- src/include/device/i2c.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/include/device') diff --git a/src/include/device/dram/ddr3.h b/src/include/device/dram/ddr3.h index bc9fca7495..ee20ba793a 100644 --- a/src/include/device/dram/ddr3.h +++ b/src/include/device/dram/ddr3.h @@ -204,8 +204,8 @@ int spd_decode_ddr3(dimm_attr * dimm, spd_raw_data spd_data); int dimm_is_registered(enum spd_dimm_type type); void dram_print_spd_ddr3(const dimm_attr * dimm); int spd_xmp_decode_ddr3(dimm_attr * dimm, - spd_raw_data spd, - enum ddr3_xmp_profile profile); + spd_raw_data spd, + enum ddr3_xmp_profile profile); /** * \brief Read double word from specified address diff --git a/src/include/device/i2c.h b/src/include/device/i2c.h index 6316748b85..b3a5ccadd5 100644 --- a/src/include/device/i2c.h +++ b/src/include/device/i2c.h @@ -100,7 +100,7 @@ static inline int i2c_read_raw(unsigned int bus, uint8_t chip, uint8_t *data, * [start][slave addr][w][data][stop] */ static inline int i2c_write_raw(unsigned int bus, uint8_t chip, uint8_t *data, - int len) + int len) { struct i2c_seg seg = { .read = 0, .chip = chip, .buf = data, .len = len }; -- cgit v1.2.3