]> git.baikalelectronics.ru Git - kernel.git/commit
uapi: fix linux/nfc.h userspace compilation errors
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 26 Dec 2021 13:01:27 +0000 (16:01 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Dec 2021 14:58:03 +0000 (14:58 +0000)
commit747072e7c7b0ea3f2849d4e73b73143c5bf292f0
tree85680742389aa4e8f8180557cd4121657d40ab6e
parent3089d23894071664556470869ff04ad015fe6497
uapi: fix linux/nfc.h userspace compilation errors

Replace sa_family_t with __kernel_sa_family_t to fix the following
linux/nfc.h userspace compilation errors:

/usr/include/linux/nfc.h:266:2: error: unknown type name 'sa_family_t'
  sa_family_t sa_family;
/usr/include/linux/nfc.h:274:2: error: unknown type name 'sa_family_t'
  sa_family_t sa_family;

Fixes: 326cfad0406a ("NFC: add the NFC socket raw protocol")
Fixes: 891a717073e0 ("NFC: Initial LLCP support")
Cc: <stable@vger.kernel.org>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/nfc.h