aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mdio/mdio-i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mdio/mdio-i2c.h')
-rw-r--r--include/linux/mdio/mdio-i2c.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/mdio/mdio-i2c.h b/include/linux/mdio/mdio-i2c.h
new file mode 100644
index 000000000000..751dab281f57
--- /dev/null
+++ b/include/linux/mdio/mdio-i2c.h
@@ -0,0 +1,16 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * MDIO I2C bridge
+ *
+ * Copyright (C) 2015 Russell King
+ */
+#ifndef MDIO_I2C_H
+#define MDIO_I2C_H
+
+struct device;
+struct i2c_adapter;
+struct mii_bus;
+
+struct mii_bus *mdio_i2c_alloc(struct device *parent, struct i2c_adapter *i2c);
+
+#endif