diff options
-rw-r--r-- | include/linux/regmap.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 33d5f1d..14b8252 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -16,11 +16,10 @@ #include <linux/device.h> #include <linux/list.h> -#ifdef CONFIG_REGMAP - struct module; struct i2c_client; struct spi_device; +struct regmap; /* An enum of all the supported cache types */ enum regcache_type { @@ -42,6 +41,8 @@ struct reg_default { unsigned int def; }; +#ifdef CONFIG_REGMAP + /** * Configuration for the register map of a device. * |