rapidio: add device access check into the enumeration
[firefly-linux-kernel-4.4.55.git] / drivers / rapidio / rio.h
index bc71ba1d239e02ed24e64da815bb703a73b9c021..d249a1205c7dd1d9064e3415d65c7e90c5b8f67f 100644 (file)
@@ -24,6 +24,8 @@ extern u32 rio_mport_get_physefb(struct rio_mport *port, int local,
                                 u16 destid, u8 hopcount);
 extern u32 rio_mport_get_efb(struct rio_mport *port, int local, u16 destid,
                             u8 hopcount, u32 from);
+extern int rio_mport_chk_dev_access(struct rio_mport *mport, u16 destid,
+                                   u8 hopcount);
 extern int rio_create_sysfs_dev_files(struct rio_dev *rdev);
 extern int rio_enum_mport(struct rio_mport *mport);
 extern int rio_disc_mport(struct rio_mport *mport);