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:
Jean-Sébastien Pédron 2023-02-13 21:51:00 +01:00
parent 8363672729
commit 7d03acf065
No known key found for this signature in database
GPG Key ID: 39E99761A5FD94CC
2 changed files with 11 additions and 1 deletions

View File

@ -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;

View 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_ */