Skip to content

Commit 381e976

Browse files
bebarinogregkh
authored andcommitted
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>
1 parent b4cdeb7 commit 381e976

4 files changed

Lines changed: 1 addition & 4 deletions

File tree

‎drivers/firmware/google/coreboot_table.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#define __COREBOOT_TABLE_H
2222

2323
#include <linux/device.h>
24-
#include <linux/io.h>
2524

2625
/* Coreboot table header structure */
2726
struct coreboot_table_header {

‎drivers/firmware/google/memconsole-coreboot.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
*/
1717

1818
#include <linux/device.h>
19+
#include <linux/io.h>
1920
#include <linux/kernel.h>
2021
#include <linux/module.h>
2122

‎drivers/firmware/google/memconsole.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
* GNU General Public License for more details.
1616
*/
1717

18-
#include <linux/init.h>
1918
#include <linux/sysfs.h>
2019
#include <linux/kobject.h>
2120
#include <linux/module.h>

‎drivers/firmware/google/vpd_decode.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
* GNU General Public License for more details.
1616
*/
1717

18-
#include <linux/export.h>
19-
2018
#include "vpd_decode.h"
2119

2220
static int vpd_decode_len(const s32 max_len, const u8 *in,

0 commit comments

Comments
 (0)