X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Frio_drv.h;h=90987b7bcc1be21efcd979f9029dbecb89daf503;hb=13c48c490208d9e70d8d66d56f96c5054db69af7;hp=3bd7cce19e2645cd32e240471230d84910c945a7;hpb=1ef43204f4bd24dcd3156185b19b31b6b4151ae9;p=linux-2.6 diff --git a/include/linux/rio_drv.h b/include/linux/rio_drv.h index 3bd7cce19e..90987b7bcc 100644 --- a/include/linux/rio_drv.h +++ b/include/linux/rio_drv.h @@ -13,14 +13,12 @@ #ifndef LINUX_RIO_DRV_H #define LINUX_RIO_DRV_H -#ifdef __KERNEL__ - #include -#include #include #include #include #include +#include #include extern int __rio_local_read_config_32(struct rio_mport *port, u32 offset, @@ -336,8 +334,8 @@ static inline void rio_init_dbell_res(struct resource *res, u16 start, u16 end) /** * RIO_DEVICE - macro used to describe a specific RIO device - * @vid: the 16 bit RIO vendor ID - * @did: the 16 bit RIO device ID + * @dev: the 16 bit RIO device ID + * @ven: the 16 bit RIO vendor ID * * This macro is used to create a struct rio_device_id that matches a * specific device. The assembly vendor and assembly device fields @@ -465,5 +463,4 @@ extern struct rio_dev *rio_get_device(u16 vid, u16 did, struct rio_dev *from); extern struct rio_dev *rio_get_asm(u16 vid, u16 did, u16 asm_vid, u16 asm_did, struct rio_dev *from); -#endif /* __KERNEL__ */ #endif /* LINUX_RIO_DRV_H */