summaryrefslogtreecommitdiff
path: root/drivers/net/phy/aquantia/Makefile
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2023-11-14 17:08:41 +0300
committerDavid S. Miller <davem@davemloft.net>2023-11-17 01:10:29 +0300
commitd2213db3f49bce8e7a87c8de05b9a091f78f654e (patch)
tree58b638b1f2e555ab1768f10c5e62550854708dbc /drivers/net/phy/aquantia/Makefile
parent470f3669d38dac3eb5e4b0db5bb9aea3a52df547 (diff)
downloadlinux-d2213db3f49bce8e7a87c8de05b9a091f78f654e.tar.xz
net: phy: aquantia: move to separate directory
Move aquantia PHY driver to separate driectory in preparation for firmware loading support to keep things tidy. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/aquantia/Makefile')
-rw-r--r--drivers/net/phy/aquantia/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/phy/aquantia/Makefile b/drivers/net/phy/aquantia/Makefile
new file mode 100644
index 000000000000..346f350bc084
--- /dev/null
+++ b/drivers/net/phy/aquantia/Makefile
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0
+aquantia-objs += aquantia_main.o
+ifdef CONFIG_HWMON
+aquantia-objs += aquantia_hwmon.o
+endif
+obj-$(CONFIG_AQUANTIA_PHY) += aquantia.o