diff --git a/kernel/include/linux/fmc.h b/kernel/include/linux/fmc.h index a70cd7b6d229e535987811aaba53f0fc38db513b..7471e73977152e702419ce85b412630998be8a90 100644 --- a/kernel/include/linux/fmc.h +++ b/kernel/include/linux/fmc.h @@ -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)