diff options
author | 2008-12-29 09:34:39 +0000 | |
---|---|---|
committer | 2008-12-29 09:34:39 +0000 | |
commit | 9ee1187798f7c54cdb1f684ba23d0a3ab4a0d13f (patch) | |
tree | 93907cac784b613311afbf86be0a78a8e7aca699 /2.6.28 | |
parent | convert asm/inline/volatile automatically based on lkml feedback (diff) | |
download | linux-headers-patches-9ee1187798f7c54cdb1f684ba23d0a3ab4a0d13f.tar.gz linux-headers-patches-9ee1187798f7c54cdb1f684ba23d0a3ab4a0d13f.tar.bz2 linux-headers-patches-9ee1187798f7c54cdb1f684ba23d0a3ab4a0d13f.zip |
pull in linux/types.h in linux/serial.h #252721
Diffstat (limited to '2.6.28')
-rw-r--r-- | 2.6.28/00_all_linux-serial.h-pull-in-linux-types.h-for-userspace.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/2.6.28/00_all_linux-serial.h-pull-in-linux-types.h-for-userspace.patch b/2.6.28/00_all_linux-serial.h-pull-in-linux-types.h-for-userspace.patch new file mode 100644 index 0000000..80ca49e --- /dev/null +++ b/2.6.28/00_all_linux-serial.h-pull-in-linux-types.h-for-userspace.patch @@ -0,0 +1,30 @@ +From d74d27ff7e4b014e1f8d43717703c9bace66aa74 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Mon, 29 Dec 2008 04:27:02 -0500 +Subject: [PATCH] linux/serial.h: pull in linux/types.h for userspace + +Since the struct serial_rs485 is exported to userspace and uses __u##, +types we need to include linux/types.h for it. + +Signed-off-by: Mike Frysinger <vapier@gentoo.org> +--- + include/linux/serial.h | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/include/linux/serial.h b/include/linux/serial.h +index 1ea8d92..fa72b39 100644 +--- a/include/linux/serial.h ++++ b/include/linux/serial.h +@@ -10,8 +10,8 @@ + #ifndef _LINUX_SERIAL_H + #define _LINUX_SERIAL_H + +-#ifdef __KERNEL__ + #include <linux/types.h> ++#ifdef __KERNEL__ + #include <asm/page.h> + + /* +-- +1.6.0.6 + |