x86/topology: Fix function name in documentation
[cris-mirror.git] / include / linux / ulpi / interface.h
blobe93cfa36c3f7ea96f8cca18ae46093ca7ef4a36e
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __LINUX_ULPI_INTERFACE_H
3 #define __LINUX_ULPI_INTERFACE_H
5 #include <linux/types.h>
7 struct ulpi;
8 struct device;
10 /**
11 * struct ulpi_ops - ULPI register access
12 * @read: read operation for ULPI register access
13 * @write: write operation for ULPI register access
15 struct ulpi_ops {
16 int (*read)(struct device *dev, u8 addr);
17 int (*write)(struct device *dev, u8 addr, u8 val);
20 struct ulpi *ulpi_register_interface(struct device *, const struct ulpi_ops *);
21 void ulpi_unregister_interface(struct ulpi *);
23 #endif /* __LINUX_ULPI_INTERFACE_H */