summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/macb.h
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2020-09-30 12:50:59 +0200
committerDavid S. Miller <davem@davemloft.net>2020-09-30 14:18:19 -0700
commit20c168be684a97b084525906eb7ed017b7f9c0b8 (patch)
tree69d102a2cf3514c8f99f6f4e7113b9357caea64a /include/linux/platform_data/macb.h
parente13dbc4f41db7f7b86f17a2efd7fbe19fc5b6d7a (diff)
downloadlinux-20c168be684a97b084525906eb7ed017b7f9c0b8.tar.bz2
net: macb: move pdata to private header
struct macb_platform_data is only used by macb_pci to register the platform device, move its definition to cadence/macb.h and remove platform_data/macb.h Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/platform_data/macb.h')
-rw-r--r--include/linux/platform_data/macb.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/linux/platform_data/macb.h b/include/linux/platform_data/macb.h
deleted file mode 100644
index aa5b5562d6f7..000000000000
--- a/include/linux/platform_data/macb.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * Copyright (C) 2004-2006 Atmel Corporation
- */
-#ifndef __MACB_PDATA_H__
-#define __MACB_PDATA_H__
-
-#include <linux/clk.h>
-
-/**
- * struct macb_platform_data - platform data for MACB Ethernet
- * @pclk: platform clock
- * @hclk: AHB clock
- */
-struct macb_platform_data {
- struct clk *pclk;
- struct clk *hclk;
-};
-
-#endif /* __MACB_PDATA_H__ */