summaryrefslogtreecommitdiffstats
path: root/drivers/firmware
diff options
context:
space:
mode:
authorStephen Boyd <swboyd@chromium.org>2019-05-10 14:01:51 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-24 14:55:04 -0400
commit381e9760ee87ba53df882c4affadfcc07bdf3bc2 (patch)
treee469ee40f36f53c3f0eae7fb61928376f0b4cd11 /drivers/firmware
parentb4cdeb785ea482ebfe6f8d12242620edf4fbf11c (diff)
firmware: google: coreboot: Drop unnecessary headers
These headers aren't used by the files they're included in, so drop them. The memconsole file uses memremap() though, so include io.h there so that the include is explicit. Cc: Wei-Ning Huang <wnhuang@chromium.org> Cc: Julius Werner <jwerner@chromium.org> Cc: Brian Norris <briannorris@chromium.org> Cc: Samuel Holland <samuel@sholland.org> Cc: Guenter Roeck <groeck@chromium.org> Signed-off-by: Stephen Boyd <swboyd@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/firmware')
-rw-r--r--drivers/firmware/google/coreboot_table.h1
-rw-r--r--drivers/firmware/google/memconsole-coreboot.c1
-rw-r--r--drivers/firmware/google/memconsole.c1
-rw-r--r--drivers/firmware/google/vpd_decode.c2
4 files changed, 1 insertions, 4 deletions
diff --git a/drivers/firmware/google/coreboot_table.h b/drivers/firmware/google/coreboot_table.h
index 054fa9374c59..d33c139447f6 100644
--- a/drivers/firmware/google/coreboot_table.h
+++ b/drivers/firmware/google/coreboot_table.h
@@ -21,7 +21,6 @@
21#define __COREBOOT_TABLE_H 21#define __COREBOOT_TABLE_H
22 22
23#include <linux/device.h> 23#include <linux/device.h>
24#include <linux/io.h>
25 24
26/* Coreboot table header structure */ 25/* Coreboot table header structure */
27struct coreboot_table_header { 26struct coreboot_table_header {
diff --git a/drivers/firmware/google/memconsole-coreboot.c b/drivers/firmware/google/memconsole-coreboot.c
index 6f695b9af3c9..c9faaabe1231 100644
--- a/drivers/firmware/google/memconsole-coreboot.c
+++ b/drivers/firmware/google/memconsole-coreboot.c
@@ -16,6 +16,7 @@
16 */ 16 */
17 17
18#include <linux/device.h> 18#include <linux/device.h>
19#include <linux/io.h>
19#include <linux/kernel.h> 20#include <linux/kernel.h>
20#include <linux/module.h> 21#include <linux/module.h>
21 22
diff --git a/drivers/firmware/google/memconsole.c b/drivers/firmware/google/memconsole.c
index 968135025e4f..c8156db0e3a0 100644
--- a/drivers/firmware/google/memconsole.c
+++ b/drivers/firmware/google/memconsole.c
@@ -15,7 +15,6 @@
15 * GNU General Public License for more details. 15 * GNU General Public License for more details.
16 */ 16 */
17 17
18#include <linux/init.h>
19#include <linux/sysfs.h> 18#include <linux/sysfs.h>
20#include <linux/kobject.h> 19#include <linux/kobject.h>
21#include <linux/module.h> 20#include <linux/module.h>
diff --git a/drivers/firmware/google/vpd_decode.c b/drivers/firmware/google/vpd_decode.c
index 943acaa8aa76..f8c9143472df 100644
--- a/drivers/firmware/google/vpd_decode.c
+++ b/drivers/firmware/google/vpd_decode.c
@@ -15,8 +15,6 @@
15 * GNU General Public License for more details. 15 * GNU General Public License for more details.
16 */ 16 */
17 17
18#include <linux/export.h>
19
20#include "vpd_decode.h" 18#include "vpd_decode.h"
21 19
22static int vpd_decode_len(const s32 max_len, const u8 *in, 20static int vpd_decode_len(const s32 max_len, const u8 *in,