drivers/fsi: scan slaves & register devices
Now that we have fsi_slave devices, scan each for endpoints, and register them on the fsi bus. Includes contributions from Christopher Bostic <cbostic@linux.vnet.ibm.com>. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Christopher Bostic <cbostic@linux.vnet.ibm.com> Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
2b37c3e285
commit
f7ade2a603
@@ -21,6 +21,10 @@ struct fsi_device {
|
||||
struct device dev;
|
||||
u8 engine_type;
|
||||
u8 version;
|
||||
u8 unit;
|
||||
struct fsi_slave *slave;
|
||||
uint32_t addr;
|
||||
uint32_t size;
|
||||
};
|
||||
|
||||
struct fsi_device_id {
|
||||
|
Reference in New Issue
Block a user