Skip to content
Snippets Groups Projects
Commit ccc392f1 authored by Manohar Vanga's avatar Manohar Vanga
Browse files

simulation: add priv data pointer to struct wb_device


Signed-off-by: default avatarManohar Vanga <manohar.vanga@cern.ch>
parent 514c9186
Branches
Tags
No related merge requests found
......@@ -68,6 +68,7 @@ struct wb_driver {
* @list : List of Wishbone devices (per bus)
* @dev : Internal Linux device structure
* @bus : The bus the device is on
* @priv : Private data pointer for use by drivers
*/
struct wb_device {
struct sdwb_wbd wbd;
......@@ -75,6 +76,7 @@ struct wb_device {
struct list_head list;
struct device dev;
struct wb_bus *bus;
void *priv;
};
#define to_wb_device(dev) container_of(dev, struct wb_device, dev);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment