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

fmc.h: add an sdb item to the device structure

parent 569bf7b7
Branches
Tags
No related merge requests found
...@@ -57,6 +57,7 @@ struct fmc_device { ...@@ -57,6 +57,7 @@ struct fmc_device {
__iomem void *base; /* May be NULL (Etherbone) */ __iomem void *base; /* May be NULL (Etherbone) */
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;
}; };
#define to_fmc_device(x) container_of((x), struct fmc_device, dev) #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