From 909536a666d9f42b4e27e8ce93251d85ef9fcb74 Mon Sep 17 00:00:00 2001 From: Werner Zeh Date: Thu, 27 Jul 2017 13:43:24 +0200 Subject: [PATCH] vendorcode/siemens: Fix typo in hwilib The parameter shall be FANStartSpeed instead of FANStartpeed. Change-Id: I977da687ba8d9d0bad4c184cd0945ecaa52286ad Signed-off-by: Werner Zeh Reviewed-on: https://review.coreboot.org/20788 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Martin Roth --- src/vendorcode/siemens/hwilib/hwilib.c | 2 +- src/vendorcode/siemens/hwilib/hwilib.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vendorcode/siemens/hwilib/hwilib.c b/src/vendorcode/siemens/hwilib/hwilib.c index 08e8da98ff..0d4a7a0774 100644 --- a/src/vendorcode/siemens/hwilib/hwilib.c +++ b/src/vendorcode/siemens/hwilib/hwilib.c @@ -349,7 +349,7 @@ static const struct param_info params[] = { [FANMaxSpeed] = { .pos[0] = {.blk_type = BLK_XIB, .offset = 0x40, .len = 2}, .get_field = hwilib_read_bytes }, - [FANStartpeed] = { + [FANStartSpeed] = { .pos[0] = {.blk_type = BLK_XIB, .offset = 0x42, .len = 2}, .get_field = hwilib_read_bytes }, [FANSensorDelay] = { diff --git a/src/vendorcode/siemens/hwilib/hwilib.h b/src/vendorcode/siemens/hwilib/hwilib.h index 83fcc8fffb..9739cf3c5a 100644 --- a/src/vendorcode/siemens/hwilib/hwilib.h +++ b/src/vendorcode/siemens/hwilib/hwilib.h @@ -64,7 +64,7 @@ typedef enum { FANHystThreshold, FANHystCtrl, FANMaxSpeed, - FANStartpeed, + FANStartSpeed, FANSensorDelay, FANSensorNum, FANSensorSelect,