diff options
Diffstat (limited to 'include/linux/regmap.h')
| -rw-r--r-- | include/linux/regmap.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h index c5ed83f49c4e..4419b99d8d6e 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h | |||
| @@ -27,6 +27,7 @@ struct spmi_device; | |||
| 27 | struct regmap; | 27 | struct regmap; |
| 28 | struct regmap_range_cfg; | 28 | struct regmap_range_cfg; |
| 29 | struct regmap_field; | 29 | struct regmap_field; |
| 30 | struct snd_ac97; | ||
| 30 | 31 | ||
| 31 | /* An enum of all the supported cache types */ | 32 | /* An enum of all the supported cache types */ |
| 32 | enum regcache_type { | 33 | enum regcache_type { |
| @@ -340,6 +341,8 @@ struct regmap *regmap_init_spmi_ext(struct spmi_device *dev, | |||
| 340 | struct regmap *regmap_init_mmio_clk(struct device *dev, const char *clk_id, | 341 | struct regmap *regmap_init_mmio_clk(struct device *dev, const char *clk_id, |
| 341 | void __iomem *regs, | 342 | void __iomem *regs, |
| 342 | const struct regmap_config *config); | 343 | const struct regmap_config *config); |
| 344 | struct regmap *regmap_init_ac97(struct snd_ac97 *ac97, | ||
| 345 | const struct regmap_config *config); | ||
| 343 | 346 | ||
| 344 | struct regmap *devm_regmap_init(struct device *dev, | 347 | struct regmap *devm_regmap_init(struct device *dev, |
| 345 | const struct regmap_bus *bus, | 348 | const struct regmap_bus *bus, |
| @@ -356,6 +359,10 @@ struct regmap *devm_regmap_init_spmi_ext(struct spmi_device *dev, | |||
| 356 | struct regmap *devm_regmap_init_mmio_clk(struct device *dev, const char *clk_id, | 359 | struct regmap *devm_regmap_init_mmio_clk(struct device *dev, const char *clk_id, |
| 357 | void __iomem *regs, | 360 | void __iomem *regs, |
| 358 | const struct regmap_config *config); | 361 | const struct regmap_config *config); |
| 362 | struct regmap *devm_regmap_init_ac97(struct snd_ac97 *ac97, | ||
| 363 | const struct regmap_config *config); | ||
| 364 | |||
| 365 | bool regmap_ac97_default_volatile(struct device *dev, unsigned int reg); | ||
| 359 | 366 | ||
| 360 | /** | 367 | /** |
| 361 | * regmap_init_mmio(): Initialise register map | 368 | * regmap_init_mmio(): Initialise register map |
