diff options
author | Peter Marheine <pmarheine@chromium.org> | 2022-05-17 10:40:47 +1000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-05-17 04:25:44 +0000 |
commit | 3c952254ffcab60f8d77fb89561c97e0e4450a3e (patch) | |
tree | 505103f5219b779f42ad33a0ecf0170b547c303f /extra | |
parent | 2eff2bdae49dcdc111579fdec844288dc014f1b3 (diff) | |
download | chrome-ec-3c952254ffcab60f8d77fb89561c97e0e4450a3e.tar.gz |
i2c-pseudo: build for kernels >5.15
Linux 5.15 moved stdarg.h to linux/stdarg.h, and removed the old
stdarg.h in commit c0891ac15f0428ffa81b2e818d416bdf3cb74ab6. Update
the i2c-pseudo module to build on these newer kernels.
BUG=none
TEST=now builds on Linux 5.16.18
BRANCH=none
Change-Id: I331cfc3c2bb7300b5f2c19d595214bfb1e9a8622
Signed-off-by: Peter Marheine <pmarheine@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3650292
Reviewed-by: Shou-Chieh Hsu <shouchieh@chromium.org>
Diffstat (limited to 'extra')
-rw-r--r-- | extra/i2c_pseudo/i2c-pseudo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/i2c_pseudo/i2c-pseudo.c b/extra/i2c_pseudo/i2c-pseudo.c index e4f1852cd8..325d140663 100644 --- a/extra/i2c_pseudo/i2c-pseudo.c +++ b/extra/i2c_pseudo/i2c-pseudo.c @@ -22,12 +22,12 @@ #include <linux/mutex.h> #include <linux/poll.h> #include <linux/slab.h> +#include <linux/stdarg.h> #include <linux/string.h> #include <linux/time64.h> #include <linux/types.h> #include <linux/uaccess.h> #include <linux/wait.h> -#include <stdarg.h> /* Minimum i2cp_limit module parameter value. */ #define I2CP_ADAPTERS_MIN 0 |