]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
staging: gpib: Rename common include file
authorDave Penkler <dpenkler@gmail.com>
Fri, 18 Apr 2025 09:31:11 +0000 (11:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Apr 2025 10:40:06 +0000 (12:40 +0200)
User code includes gpib_user.h. Since this include has diverged
from the original by
  - removing unused functions and defines
  - changing camel-case identifiers
  - removing typedefs
we need to change the name of the kernel include. This include
will be included in the userland gpib_user.h ensuring backward
compatibility for application programmes.

Rename the file and change the references to it.

Signed-off-by: Dave Penkler <dpenkler@gmail.com>
Link: https://lore.kernel.org/r/20250418093111.8820-3-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/include/gpibP.h
drivers/staging/gpib/include/gpib_types.h
drivers/staging/gpib/uapi/gpib.h [moved from drivers/staging/gpib/uapi/gpib_user.h with 100% similarity]

index 6461b330a3c3bdcda930d1337cd06b721ad568be..0af72934ce241f0791896d62939f254be5e52f81 100644 (file)
@@ -11,7 +11,7 @@
 
 #include "gpib_types.h"
 #include "gpib_proto.h"
-#include "gpib_user.h"
+#include "gpib.h"
 #include "gpib_ioctl.h"
 
 #include <linux/fs.h>
index 9e0dfdb9904db6ea02d56fea20c980ea4cb8bf47..2af4574d400c11775f952399830cf6853a54e380 100644 (file)
@@ -8,7 +8,7 @@
 #define _GPIB_TYPES_H
 
 #ifdef __KERNEL__
-#include "gpib_user.h"
+#include "gpib.h"
 #include <linux/atomic.h>
 #include <linux/device.h>
 #include <linux/mutex.h>