nubus: Don't use create_proc_read_entry()
[sfrench/cifs-2.6.git] / include / linux / nubus.h
index a8696bbdfbc477b95c06693f815a49354ae16054..b3740527571aa9fc6ef6449e589d1edbe17aeb3e 100644 (file)
@@ -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);