diff options
author | David Howells <dhowells@redhat.com> | 2013-04-10 18:05:38 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-29 23:41:54 +0400 |
commit | 11db656ad462c9aa7aff7e3817214578cfc307b3 (patch) | |
tree | 02b536ede231d4f1f5c51030ff6a2691c1759921 /include/linux/nubus.h | |
parent | 77cd02c151cb6b7d81aad4802ee8b98a033863d6 (diff) | |
download | linux-11db656ad462c9aa7aff7e3817214578cfc307b3.tar.xz |
nubus: Don't use create_proc_read_entry()
Don't use create_proc_read_entry() as that is deprecated, but rather use
proc_create_data() and seq_file instead.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: linux-m68k@lists.linux-m68k.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/nubus.h')
-rw-r--r-- | include/linux/nubus.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/nubus.h b/include/linux/nubus.h index a8696bbdfbc4..b3740527571a 100644 --- a/include/linux/nubus.h +++ b/include/linux/nubus.h @@ -80,7 +80,11 @@ extern struct nubus_board* nubus_boards; /* Generic NuBus interface functions, modelled after the PCI interface */ void nubus_scan_bus(void); +#ifdef CONFIG_PROC_FS extern void nubus_proc_init(void); +#else +static inline void nubus_proc_init(void) {} +#endif int get_nubus_list(char *buf); int nubus_proc_attach_device(struct nubus_dev *dev); int nubus_proc_detach_device(struct nubus_dev *dev); |