Commit e8b7f906 authored by Jean Tourrilhes's avatar Jean Tourrilhes Committed by Linus Torvalds

[IrDA] include cleanup

	o [CORRECT] Cleanup cruft from <linux/irda.h>
parent c3d5155c
...@@ -32,8 +32,6 @@ ...@@ -32,8 +32,6 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/tty.h> #include <linux/tty.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/net.h>
#include <linux/irda.h>
#include <net/irda/irda.h> #include <net/irda/irda.h>
#include <net/irda/irda_device.h> #include <net/irda/irda_device.h>
......
...@@ -25,7 +25,11 @@ ...@@ -25,7 +25,11 @@
#ifndef KERNEL_IRDA_H #ifndef KERNEL_IRDA_H
#define KERNEL_IRDA_H #define KERNEL_IRDA_H
#include <linux/socket.h> /* only for sa_family_t */ /* Please do *not* add any #include in this file, this file is
* included as-is in user space.
* Please fix the calling file to properly included needed files before
* this one, or preferably to include <net/irda/irda.h> instead.
* Jean II */
/* Hint bit positions for first hint byte */ /* Hint bit positions for first hint byte */
#define HINT_PNP 0x01 #define HINT_PNP 0x01
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment