|
@@ -6,6 +6,7 @@
|
|
#define __LINUX_ISA_H
|
|
#define __LINUX_ISA_H
|
|
|
|
|
|
#include <linux/device.h>
|
|
#include <linux/device.h>
|
|
|
|
+#include <linux/errno.h>
|
|
#include <linux/kernel.h>
|
|
#include <linux/kernel.h>
|
|
|
|
|
|
struct isa_driver {
|
|
struct isa_driver {
|
|
@@ -28,7 +29,7 @@ void isa_unregister_driver(struct isa_driver *);
|
|
#else
|
|
#else
|
|
static inline int isa_register_driver(struct isa_driver *d, unsigned int i)
|
|
static inline int isa_register_driver(struct isa_driver *d, unsigned int i)
|
|
{
|
|
{
|
|
- return 0;
|
|
|
|
|
|
+ return -ENODEV;
|
|
}
|
|
}
|
|
|
|
|
|
static inline void isa_unregister_driver(struct isa_driver *d)
|
|
static inline void isa_unregister_driver(struct isa_driver *d)
|