Skip to content
Snippets Groups Projects
Commit 57bdfc9d authored by Alessandro Rubini's avatar Alessandro Rubini
Browse files

fmc: added mezzanine_data field


Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
parent 50c83791
No related merge requests found
......@@ -128,8 +128,9 @@ struct fmc_device {
void *carrier_data; /* "struct spec *" or equivalent */
__iomem void *base; /* May be NULL (Etherbone) */
struct device dev; /* For Linux use */
struct device *hwdev; /* The underlying hardware device */
struct sdb_array *sdb;
struct device *hwdev; /* The underlying hardware device */
struct sdb_array *sdb;
void *mezzanine_data;
};
@end smallexample
......
......@@ -73,6 +73,7 @@ struct fmc_device {
struct device dev; /* For Linux use */
struct device *hwdev; /* The underlying hardware device */
struct sdb_array *sdb;
void *mezzanine_data;
};
#define to_fmc_device(x) container_of((x), struct fmc_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