diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2017-06-06 16:08:44 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-09 11:52:08 +0200 |
commit | f7ade2a603cfd205a6d7afb9d96ac7975f666dd6 (patch) | |
tree | a8baf323d6c60a549c32d914ade4a61947ee0181 /include/linux/fsi.h | |
parent | 2b37c3e285f9dfd76735b0b4b26e0ada949e97b5 (diff) | |
download | linux-f7ade2a603cfd205a6d7afb9d96ac7975f666dd6.tar.gz linux-f7ade2a603cfd205a6d7afb9d96ac7975f666dd6.tar.bz2 linux-f7ade2a603cfd205a6d7afb9d96ac7975f666dd6.zip |
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>
Diffstat (limited to 'include/linux/fsi.h')
-rw-r--r-- | include/linux/fsi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/fsi.h b/include/linux/fsi.h index 273cbf6400ea..efa55ba6cb39 100644 --- a/include/linux/fsi.h +++ b/include/linux/fsi.h @@ -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 { |