Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9fe03bc3 authored by Jaswinder Singh Rajput's avatar Jaswinder Singh Rajput
Browse files

headers_check fix: linux/nubus.h



fix the following 'make headers_check' warnings:

  usr/include/linux/nubus.h:297: extern's make no sense in userspace
  usr/include/linux/nubus.h:299: extern's make no sense in userspace
  usr/include/linux/nubus.h:303: extern's make no sense in userspace

Signed-off-by: default avatarJaswinder Singh Rajput <jaswinderrajput@gmail.com>
parent 25d00fdd
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -296,6 +296,7 @@ struct nubus_dev {
	struct nubus_board* board;
	struct nubus_board* board;
};
};


#ifdef __KERNEL__
/* This is all NuBus devices (used to find devices later on) */
/* This is all NuBus devices (used to find devices later on) */
extern struct nubus_dev* nubus_devices;
extern struct nubus_dev* nubus_devices;
/* This is all NuBus cards */
/* This is all NuBus cards */
@@ -351,6 +352,7 @@ void nubus_get_rsrc_mem(void* dest,
void nubus_get_rsrc_str(void* dest,
void nubus_get_rsrc_str(void* dest,
			const struct nubus_dirent *dirent,
			const struct nubus_dirent *dirent,
			int maxlen);
			int maxlen);
#endif /* __KERNEL__ */


/* We'd like to get rid of this eventually.  Only daynaport.c uses it now. */
/* We'd like to get rid of this eventually.  Only daynaport.c uses it now. */
static inline void *nubus_slot_addr(int slot)
static inline void *nubus_slot_addr(int slot)