Skip to content

Commit

Permalink
tty: Add export.h for EXPORT_SYMBOL/THIS_MODULE to exporters
Browse files Browse the repository at this point in the history
With module.h being implicitly everywhere via device.h, the absence
of explicitly including something for EXPORT_SYMBOL went unnoticed.
Since we are heading to fix things up and clean module.h from the
device.h file, we need to explicitly include these files now.

Signed-off-by: Paul Gortmaker <[email protected]>
  • Loading branch information
Paul Gortmaker committed Oct 31, 2011
1 parent 578b9ce commit 0e648f4
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/tty/serial/nwpserial.c
Original file line number Diff line number Diff line change
@@ -10,6 +10,7 @@
*
*/
#include <linux/init.h>
#include <linux/export.h>
#include <linux/console.h>
#include <linux/serial.h>
#include <linux/serial_reg.h>
1 change: 1 addition & 0 deletions drivers/tty/vt/vc_screen.c
Original file line number Diff line number Diff line change
@@ -22,6 +22,7 @@
#include <linux/kernel.h>
#include <linux/major.h>
#include <linux/errno.h>
#include <linux/export.h>
#include <linux/tty.h>
#include <linux/interrupt.h>
#include <linux/mm.h>

0 comments on commit 0e648f4

Please sign in to comment.