mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-26 20:15:44 +00:00
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:
committed by
Greg Kroah-Hartman
parent
db14478045
commit
c7184cbf55
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user