Skip to content

Commit 8a56977

Browse files
hcahcaAlexander Gordeev
authored andcommitted
s390/drivers: Explicitly include <linux/export.h>
Explicitly include <linux/export.h> in files which contain an EXPORT_SYMBOL(). See commit a934a57 ("scripts/misc-check: check missing #include <linux/export.h> when W=1") for more details. Acked-by: Alexander Gordeev <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
1 parent 0f3760d commit 8a56977

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+45
-0
lines changed

drivers/s390/block/dasd.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* Copyright IBM Corp. 1999, 2009
99
*/
1010

11+
#include <linux/export.h>
1112
#include <linux/kmod.h>
1213
#include <linux/init.h>
1314
#include <linux/interrupt.h>

drivers/s390/block/dasd_devmap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
*
1414
*/
1515

16+
#include <linux/export.h>
1617
#include <linux/ctype.h>
1718
#include <linux/init.h>
1819
#include <linux/module.h>

drivers/s390/block/dasd_eer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* Author(s): Stefan Weinhuber <[email protected]>
88
*/
99

10+
#include <linux/export.h>
1011
#include <linux/init.h>
1112
#include <linux/fs.h>
1213
#include <linux/kernel.h>

drivers/s390/block/dasd_erp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
*
1010
*/
1111

12+
#include <linux/export.h>
1213
#include <linux/ctype.h>
1314
#include <linux/init.h>
1415

drivers/s390/block/dasd_ioctl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
#include <linux/interrupt.h>
1414
#include <linux/compat.h>
15+
#include <linux/export.h>
1516
#include <linux/major.h>
1617
#include <linux/fs.h>
1718
#include <linux/blkpg.h>

drivers/s390/char/keyboard.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* Author(s): Martin Schwidefsky ([email protected]),
88
*/
99

10+
#include <linux/export.h>
1011
#include <linux/module.h>
1112
#include <linux/sched/signal.h>
1213
#include <linux/slab.h>

drivers/s390/char/raw3270.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* Copyright IBM Corp. 2003, 2009
99
*/
1010

11+
#include <linux/export.h>
1112
#include <linux/module.h>
1213
#include <linux/err.h>
1314
#include <linux/init.h>

drivers/s390/char/sclp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
*/
1010

1111
#include <linux/kernel_stat.h>
12+
#include <linux/export.h>
1213
#include <linux/module.h>
1314
#include <linux/err.h>
1415
#include <linux/panic_notifier.h>

drivers/s390/char/sclp_early.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#define KMSG_COMPONENT "sclp_early"
99
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
1010

11+
#include <linux/export.h>
1112
#include <linux/errno.h>
1213
#include <linux/memblock.h>
1314
#include <asm/ctlreg.h>

drivers/s390/char/sclp_ocf.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#define KMSG_COMPONENT "sclp_ocf"
1010
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
1111

12+
#include <linux/export.h>
1213
#include <linux/kernel.h>
1314
#include <linux/init.h>
1415
#include <linux/stat.h>

0 commit comments

Comments
 (0)