]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
tty: move linux/gsmmux.h to uapi
authorJiri Slaby <jslaby@suse.cz>
Wed, 27 May 2015 11:57:46 +0000 (13:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 1 Jun 2015 01:45:51 +0000 (10:45 +0900)
linux/gsmmux.h defines a user interface and therefore should be
installed with other headers.

Make the file include:
* linux/if.h for IFNAMSIZ
* linux/ioctl.h for _IO* macros

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/linux/Kbuild
include/uapi/linux/gsmmux.h [moved from include/linux/gsmmux.h with 94% similarity]

index 1a0006a76b00a785c62d4bc01959136a6c7ea0e3..1d3db6a74d1fb44d4b26fa941a2ee15091029f7d 100644 (file)
@@ -138,6 +138,7 @@ header-y += genetlink.h
 header-y += gen_stats.h
 header-y += gfs2_ondisk.h
 header-y += gigaset_dev.h
+header-y += gsmmux.h
 header-y += hdlcdrv.h
 header-y += hdlc.h
 header-y += hdreg.h
similarity index 94%
rename from include/linux/gsmmux.h
rename to include/uapi/linux/gsmmux.h
index c25e9477f7c387f6c49225afb2c25de114b997d3..c06742d528562e12761eda74f6b421e5fb370a39 100644 (file)
@@ -1,6 +1,9 @@
 #ifndef _LINUX_GSMMUX_H
 #define _LINUX_GSMMUX_H
 
+#include <linux/if.h>
+#include <linux/ioctl.h>
+
 struct gsm_config
 {
        unsigned int adaption;