summaryrefslogtreecommitdiff
path: root/common/pwm_kblight.c
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-11-04 11:24:30 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-11-05 02:32:40 +0000
commitefb6bc76553ca8c425a3c6683fbf2790d030064e (patch)
treea7e60695e169f54e42abc592bfff53f48883c3bf /common/pwm_kblight.c
parent5d672b91a7f0d83e278b6f48dbd29105aabfb897 (diff)
downloadchrome-ec-efb6bc76553ca8c425a3c6683fbf2790d030064e.tar.gz
Pad jump tags to 4 bytes inside the system module
That way all the users of jump tags don't need to know about the padding requirements. BUG=chrome-os-partner:23851 BRANCH=none TEST=enable CONFIG_CMD_JUMPTAGS, then 'jumptags'. Output should be something like this: 20007fbc: 0x5550 UP.1 2 20007fc4: 0x4b42 KB.2 3 20007fcc: 0x4c50 LP.1 12 20007fdc: 0x4d54 MT.1 8 All the addresses in the first column should be word-aligned. The sizes in the last column don't need to be a multiple of 4. Change-Id: I91f9c29701a007ef8a56b5b7e0ea09930dfbea31 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/175591 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'common/pwm_kblight.c')
-rw-r--r--common/pwm_kblight.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/pwm_kblight.c b/common/pwm_kblight.c
index 41448ce7e8..5f84dd66af 100644
--- a/common/pwm_kblight.c
+++ b/common/pwm_kblight.c
@@ -21,7 +21,6 @@
struct pwm_kbd_state {
uint8_t kblight_en;
uint8_t kblight_percent;
- uint8_t pad0, pad1; /* Pad to multiple of 4 bytes. */
};
/*****************************************************************************/