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>
This commit is contained in:
Stephen Boyd 2019-05-10 11:01:51 -07:00 committed by Greg Kroah-Hartman
parent b4cdeb785e
commit 381e9760ee
4 changed files with 1 additions and 4 deletions

View File

@ -21,7 +21,6 @@
#define __COREBOOT_TABLE_H
#include <linux/device.h>
#include <linux/io.h>
/* Coreboot table header structure */
struct coreboot_table_header {

View File

@ -16,6 +16,7 @@
*/
#include <linux/device.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>

View File

@ -15,7 +15,6 @@
* GNU General Public License for more details.
*/
#include <linux/init.h>
#include <linux/sysfs.h>
#include <linux/kobject.h>
#include <linux/module.h>

View File

@ -15,8 +15,6 @@
* GNU General Public License for more details.
*/
#include <linux/export.h>
#include "vpd_decode.h"
static int vpd_decode_len(const s32 max_len, const u8 *in,