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>
This commit is contained in:

committed by
David S. Miller

parent
e13dbc4f41
commit
20c168be68
@@ -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__ */
|
Reference in New Issue
Block a user