summaryrefslogtreecommitdiff
path: root/common/eeprom
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2024-04-27 08:11:00 -0600
committerTom Rini <[email protected]>2024-05-06 15:05:04 -0600
commita79fc7a79cc9d4f7a46b19a4891484ac1e9ef599 (patch)
treeeb961c176292ac7e2dfbeb8fc374003d1226eb28 /common/eeprom
parent301bac6047c85e2c5e39929805ca661bb09a7481 (diff)
common: Remove <common.h> and add needed includes
Remove <common.h> from all "commmon/" files and when needed add missing include files directly. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'common/eeprom')
-rw-r--r--common/eeprom/eeprom_field.c3
-rw-r--r--common/eeprom/eeprom_layout.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/common/eeprom/eeprom_field.c b/common/eeprom/eeprom_field.c
index f56eebe679f..3bacb1ae7eb 100644
--- a/common/eeprom/eeprom_field.c
+++ b/common/eeprom/eeprom_field.c
@@ -6,7 +6,8 @@
* Igor Grinberg <[email protected]>
*/
-#include <common.h>
+#include <stdio.h>
+#include <vsprintf.h>
#include <linux/string.h>
#include <eeprom_field.h>
diff --git a/common/eeprom/eeprom_layout.c b/common/eeprom/eeprom_layout.c
index 5a9be1da061..1a425c1754d 100644
--- a/common/eeprom/eeprom_layout.c
+++ b/common/eeprom/eeprom_layout.c
@@ -6,8 +6,8 @@
* Igor Grinberg <[email protected]>
*/
-#include <common.h>
#include <linux/kernel.h>
+#include <linux/string.h>
#include <eeprom_layout.h>
#include <eeprom_field.h>