Commit 6100b0cd authored by Alessandro Rubini's avatar Alessandro Rubini

fmc.h: added hwdev device field for messages

parent 8ff304e3
......@@ -56,6 +56,7 @@ 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 */
};
#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