Commit e8bbbf6c authored by Alessandro Rubini's avatar Alessandro Rubini

fmc: added mezzanine_data field

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 28219c51
...@@ -130,6 +130,7 @@ struct fmc_device { ...@@ -130,6 +130,7 @@ struct fmc_device {
struct device dev; /* For Linux use */ struct device dev; /* For Linux use */
struct device *hwdev; /* The underlying hardware device */ struct device *hwdev; /* The underlying hardware device */
struct sdb_array *sdb; struct sdb_array *sdb;
void *mezzanine_data;
}; };
@end smallexample @end smallexample
......
...@@ -73,6 +73,7 @@ struct fmc_device { ...@@ -73,6 +73,7 @@ struct fmc_device {
struct device dev; /* For Linux use */ struct device dev; /* For Linux use */
struct device *hwdev; /* The underlying hardware device */ struct device *hwdev; /* The underlying hardware device */
struct sdb_array *sdb; struct sdb_array *sdb;
void *mezzanine_data;
}; };
#define to_fmc_device(x) container_of((x), struct fmc_device, dev) #define to_fmc_device(x) container_of((x), struct fmc_device, dev)
......
Markdown is supported
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