]> git.baikalelectronics.ru Git - kernel.git/commit
linux/scc.h: make uapi linux/scc.h self-contained
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 5 Dec 2019 00:50:23 +0000 (16:50 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 5 Dec 2019 03:44:12 +0000 (19:44 -0800)
commitc1f8f77d0cee9b1d59753e5e7004e7a14123bc3f
treeb22361395dd854baf546f56651c0fe333ba53b8d
parentf881a74dc28669ad8b1df59a9ecb6e3ed11ae87a
linux/scc.h: make uapi linux/scc.h self-contained

Userspace cannot compile <linux/scc.h>

    CC      usr/include/linux/scc.h.s
  In file included from <command-line>:32:0:
  usr/include/linux/scc.h:20:20: error: `SIOCDEVPRIVATE' undeclared here (not in a function)
    SIOCSCCRESERVED = SIOCDEVPRIVATE,
                      ^~~~~~~~~~~~~~

Include <linux/sockios.h> to make it self-contained, and add it to the
compile-test coverage.

Link: http://lkml.kernel.org/r/20191108055809.26969-1-yamada.masahiro@socionext.com
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/uapi/linux/scc.h
usr/include/Makefile