aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i8254.h
blob: a675c309232b125e718bd6d422ad94cb4e722a68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright (C) William Breathitt Gray */
#ifndef _I8254_H_
#define _I8254_H_

struct device;
struct regmap;

/**
 * struct i8254_regmap_config - Configuration for the register map of an i8254
 * @parent:	parent device
 * @map:	regmap for the i8254
 */
struct i8254_regmap_config {
	struct device *parent;
	struct regmap *map;
};

int devm_i8254_regmap_register(struct device *dev, const struct i8254_regmap_config *config);

#endif /* _I8254_H_ */