forked from Minki/linux
902b1607f4
Prepare the stmmac platform code to support standalone drivers by exporting the need functions and having of_match_device use the match table reference already present in the driver struct. This will allow us to reuse the platform driver functions from this code easily in other stand alone platform drivers. Signed-off-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
35 lines
1.4 KiB
C
35 lines
1.4 KiB
C
/*******************************************************************************
|
|
Copyright (C) 2007-2009 STMicroelectronics Ltd
|
|
|
|
This program is free software; you can redistribute it and/or modify it
|
|
under the terms and conditions of the GNU General Public License,
|
|
version 2, as published by the Free Software Foundation.
|
|
|
|
This program is distributed in the hope it will be useful, but WITHOUT
|
|
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
more details.
|
|
|
|
The full GNU General Public License is included in this distribution in
|
|
the file called "COPYING".
|
|
|
|
Author: Giuseppe Cavallaro <peppe.cavallaro@st.com>
|
|
*******************************************************************************/
|
|
|
|
#ifndef __STMMAC_PLATFORM_H__
|
|
#define __STMMAC_PLATFORM_H__
|
|
|
|
int stmmac_pltfr_probe(struct platform_device *pdev);
|
|
int stmmac_pltfr_remove(struct platform_device *pdev);
|
|
extern const struct dev_pm_ops stmmac_pltfr_pm_ops;
|
|
|
|
extern const struct stmmac_of_data lpc18xx_dwmac_data;
|
|
extern const struct stmmac_of_data meson6_dwmac_data;
|
|
extern const struct stmmac_of_data sun7i_gmac_data;
|
|
extern const struct stmmac_of_data stih4xx_dwmac_data;
|
|
extern const struct stmmac_of_data stid127_dwmac_data;
|
|
extern const struct stmmac_of_data socfpga_gmac_data;
|
|
extern const struct stmmac_of_data rk3288_gmac_data;
|
|
|
|
#endif /* __STMMAC_PLATFORM_H__ */
|