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: 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>
This commit is contained in:
Dave Penkler
2025-04-18 11:31:11 +02:00
committed by Greg Kroah-Hartman
parent db14478045
commit c7184cbf55
3 changed files with 2 additions and 2 deletions

View 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>

View 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>