--- a/drivers/rapidio/rio-access.c~drivers-rapidio-rio-accessc-fix-missing-include-of-linux-rio_drvh +++ a/drivers/rapidio/rio-access.c @@ -9,6 +9,8 @@ #include <linux/rio.h> #include <linux/module.h> +#include <linux/rio_drv.h> + /* * Wrappers for all RIO configuration access functions. They just check * alignment and call the low-level functions pointed to by rio_mport->ops.