Commit c7184cbf authored by Dave Penkler's avatar Dave Penkler Committed by Greg Kroah-Hartman
Browse files

staging: gpib: Rename common include file



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: default avatarDave Penkler <dpenkler@gmail.com>
Link: https://lore.kernel.org/r/20250418093111.8820-3-dpenkler@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent db144780
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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>
+1 −1
Original line number Diff line number Diff line
@@ -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>