Commit 381e9760 authored by Stephen Boyd's avatar Stephen Boyd Committed by Greg Kroah-Hartman

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: default avatarStephen Boyd <swboyd@chromium.org>
Reviewed-by: default avatarJulius Werner <jwerner@chromium.org>
Reviewed-by: default avatarSamuel Holland <samuel@sholland.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b4cdeb78
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#define __COREBOOT_TABLE_H #define __COREBOOT_TABLE_H
#include <linux/device.h> #include <linux/device.h>
#include <linux/io.h>
/* Coreboot table header structure */ /* Coreboot table header structure */
struct coreboot_table_header { struct coreboot_table_header {
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
*/ */
#include <linux/device.h> #include <linux/device.h>
#include <linux/io.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/module.h> #include <linux/module.h>
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <linux/init.h>
#include <linux/sysfs.h> #include <linux/sysfs.h>
#include <linux/kobject.h> #include <linux/kobject.h>
#include <linux/module.h> #include <linux/module.h>
......
...@@ -15,8 +15,6 @@ ...@@ -15,8 +15,6 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <linux/export.h>
#include "vpd_decode.h" #include "vpd_decode.h"
static int vpd_decode_len(const s32 max_len, const u8 *in, static int vpd_decode_len(const s32 max_len, const u8 *in,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment