mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
linuxkpi: Declare struct fwnode_handle in <linux/fwnode.h>
Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D38566
This commit is contained in:
parent
8363672729
commit
7d03acf065
2 changed files with 11 additions and 1 deletions
|
|
@ -48,13 +48,13 @@
|
|||
#include <linux/pm.h>
|
||||
#include <linux/idr.h>
|
||||
#include <linux/ratelimit.h> /* via linux/dev_printk.h */
|
||||
#include <linux/fwnode.h>
|
||||
#include <asm/atomic.h>
|
||||
|
||||
#include <sys/bus.h>
|
||||
#include <sys/backlight.h>
|
||||
|
||||
struct device;
|
||||
struct fwnode_handle;
|
||||
|
||||
struct class {
|
||||
const char *name;
|
||||
|
|
|
|||
10
sys/compat/linuxkpi/common/include/linux/fwnode.h
Normal file
10
sys/compat/linuxkpi/common/include/linux/fwnode.h
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/* Public domain. */
|
||||
|
||||
#ifndef _LINUXKPI_LINUX_FWNODE_H_
|
||||
#define _LINUXKPI_LINUX_FWNODE_H_
|
||||
|
||||
struct fwnode_handle {
|
||||
struct fwnode_handle *secondary;
|
||||
};
|
||||
|
||||
#endif /* _LINUXKPI_LINUX_FWNODE_H_ */
|
||||
Loading…
Reference in a new issue