Skip to contentSkip to conversation

ARM: S3C64XX: Add linux/export.h to dev-spi.c

PATCH New Mark Brown 2 participants 2 messages Nov 28, 2011 – Dec 1, 2011

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ARM: S3C64XX: Add linux/export.h to dev-spi.c

This is required for the EXPORT_SYMBOL()s the code uses, previously the header was being included implicitly by another header.

---
 arch/arm/mach-s3c64xx/dev-spi.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-s3c64xx/dev-spi.c +1 -0
index 86fb130..3f437e7 100644
@@ -10,6 +10,7 @@
 
 #include <linux/kernel.h>
 #include <linux/string.h>
+#include <linux/export.h>
 #include <linux/platform_device.h>
 #include <linux/dma-mapping.h>
 #include <linux/gpio.h>
Signature · 1 line
1.7.7.3
#1 lore raw

PATCH 1/1 ARM: S3C64XX: Add linux/export.h to dev-spi.c

Quoted 23 lines · Mark Brown

This is required for the EXPORT_SYMBOL()s the code uses, previously the header was being included implicitly by another header.

---
 arch/arm/mach-s3c64xx/dev-spi.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-s3c64xx/dev- renamed from arch/arm/mach-s3c64xx/dev-spi.c +0 -0

spi.c
index 86fb130..3f437e7 100644

arch/arm/mach-s3c64xx/dev-spi.c +1 -1
@@ -10,6 +10,7 @@
 
 #include <linux/kernel.h>
 #include <linux/string.h>
+#include <linux/export.h>
 #include <linux/platform_device.h>
 #include <linux/dma-mapping.h>
 #include <linux/gpio.h>
--
Quoted 1 line

1.7.7.3

Right, will apply for v3.2.

But since Padmavathi's SPI consolidation patches removes dev-spi.c files so this can be dropped for v3.3, and as a note, I will look at other patches tomorrow :)

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.