38ddc4e7e4f5af281d20c8329f76ceaa0b370290
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.28 / 960-fix-serial_h-includes.patch
1 commit e611993564bf0bc200c430ef8d25699289c34c70
2 Author: Lars-Peter Clausen <lars@metafoo.de>
3 Date: Tue Feb 3 00:16:19 2009 +0100
4
5 struct serial_rs485 contains __32 fields and is exported to userspace so it
6 needs linux/types.h in userspace aswell.
7
8 diff --git a/include/linux/serial.h b/include/linux/serial.h
9 index 1ea8d92..fa72b39 100644
10 --- a/include/linux/serial.h
11 +++ b/include/linux/serial.h
12 @@ -10,8 +10,8 @@
13 #ifndef _LINUX_SERIAL_H
14 #define _LINUX_SERIAL_H
15
16 -#ifdef __KERNEL__
17 #include <linux/types.h>
18 +#ifdef __KERNEL__
19 #include <asm/page.h>
20
21 /*
This page took 0.057475 seconds and 3 git commands to generate.