Commit | Line | Data |
---|---|---|
d4284874 WBG |
1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | /* Copyright (C) William Breathitt Gray */ | |
3 | #ifndef _I8254_H_ | |
4 | #define _I8254_H_ | |
5 | ||
6 | struct device; | |
7 | struct regmap; | |
8 | ||
9 | /** | |
10 | * struct i8254_regmap_config - Configuration for the register map of an i8254 | |
11 | * @parent: parent device | |
12 | * @map: regmap for the i8254 | |
13 | */ | |
14 | struct i8254_regmap_config { | |
15 | struct device *parent; | |
16 | struct regmap *map; | |
17 | }; | |
18 | ||
19 | int devm_i8254_regmap_register(struct device *dev, const struct i8254_regmap_config *config); | |
20 | ||
21 | #endif /* _I8254_H_ */ |