From c27e9a4e1b711bb41c45e6029fb786b72cc217ed Mon Sep 17 00:00:00 2001 From: Mykyta Dorokhin Date: Fri, 15 Jan 2021 15:30:13 +0200 Subject: linux5.4: fix kernel module build issues --- io-module/machine/mt100eocg.c | 1 - io-module/machine/mtcap.c | 2 -- io-module/machine/mtcdt.c | 1 - io-module/machine/mtcpm.c | 2 -- io-module/machine/mths.c | 3 --- io-module/machine/mtr.c | 1 - 6 files changed, 10 deletions(-) (limited to 'io-module/machine') diff --git a/io-module/machine/mt100eocg.c b/io-module/machine/mt100eocg.c index c9d2961..ac00143 100644 --- a/io-module/machine/mt100eocg.c +++ b/io-module/machine/mt100eocg.c @@ -1,4 +1,3 @@ -#include "at91gpio.h" /* Used for both MT100EOCG 0.0 */ static struct gpio_pin gpio_pins_mt100eocg_0_0[] = { { diff --git a/io-module/machine/mtcap.c b/io-module/machine/mtcap.c index c2a4687..0d4af0f 100644 --- a/io-module/machine/mtcap.c +++ b/io-module/machine/mtcap.c @@ -1,5 +1,3 @@ -#include "at91gpio.h" -#include "mts_supercap.h" /* Used for both MTCAP 0.0 and 0.1 */ static struct gpio_pin gpio_pins_mtcap_0_0[] = { { diff --git a/io-module/machine/mtcdt.c b/io-module/machine/mtcdt.c index 575dd1e..aabbc2d 100644 --- a/io-module/machine/mtcdt.c +++ b/io-module/machine/mtcdt.c @@ -1,4 +1,3 @@ -#include "at91gpio.h" /* * Within a struct gpio_pin, there is only one * occurrence of each pin, so there is only one diff --git a/io-module/machine/mtcpm.c b/io-module/machine/mtcpm.c index 4a55127..32f7d9c 100644 --- a/io-module/machine/mtcpm.c +++ b/io-module/machine/mtcpm.c @@ -1,5 +1,3 @@ -#include "mts_io.h" - #define OMAP_GPIO(BANK, GPIO) ((BANK*32)+GPIO) /* * Within a struct gpio_pin, there is only one diff --git a/io-module/machine/mths.c b/io-module/machine/mths.c index c19598d..1922d88 100644 --- a/io-module/machine/mths.c +++ b/io-module/machine/mths.c @@ -4,9 +4,6 @@ * Created on: Apr 26, 2018 * Author: leonid */ -#include "at91gpio.h" -#include "buttons.h" - static struct gpio_pin gpio_pins_mths_0_0[] = { { .name = "RADIO_POWER_MONITOR", diff --git a/io-module/machine/mtr.c b/io-module/machine/mtr.c index 8664984..9f00be8 100644 --- a/io-module/machine/mtr.c +++ b/io-module/machine/mtr.c @@ -1,4 +1,3 @@ -#include "at91gpio.h" static struct gpio_pin gpio_pins_mtr_0_0[] = { { .name = "ETH_RESET", -- cgit v1.2.3