lkml.org 
[lkml]   [2011]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH -next] bcma: main.c and driver_mips.c need linux/export.h
From: Randy Dunlap <rdunlap@xenotime.net>

main.c and driver_mips.c use EXPORT_SYMBOL() etc.
so they should include <linux/export.h>.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
drivers/bcma/driver_mips.c | 1 +
drivers/bcma/main.c | 1 +
2 files changed, 2 insertions(+)

--- next-2011-0921.orig/drivers/bcma/driver_mips.c
+++ next-2011-0921/drivers/bcma/driver_mips.c
@@ -14,6 +14,7 @@

#include <linux/bcma/bcma.h>

+#include <linux/export.h>
#include <linux/serial.h>
#include <linux/serial_core.h>
#include <linux/serial_reg.h>
--- next-2011-0921.orig/drivers/bcma/main.c
+++ next-2011-0921/drivers/bcma/main.c
@@ -7,6 +7,7 @@

#include "bcma_private.h"
#include <linux/module.h>
+#include <linux/export.h>
#include <linux/bcma/bcma.h>
#include <linux/slab.h>


\
 
 \ /
  Last update: 2011-09-21 23:09    [W:0.080 / U:0.868 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site