1 /*******************************************************************************
2 Copyright (C) 2007-2009 STMicroelectronics Ltd
4 This program is free software; you can redistribute it and/or modify it
5 under the terms and conditions of the GNU General Public License,
6 version 2, as published by the Free Software Foundation.
8 This program is distributed in the hope it will be useful, but WITHOUT
9 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 The full GNU General Public License is included in this distribution in
14 the file called "COPYING".
16 Author: Giuseppe Cavallaro <peppe.cavallaro@st.com>
17 *******************************************************************************/
19 #ifndef __STMMAC_PLATFORM_H__
20 #define __STMMAC_PLATFORM_H__
24 struct plat_stmmacenet_data
*
25 stmmac_probe_config_dt(struct platform_device
*pdev
, const char **mac
);
27 int stmmac_get_platform_resources(struct platform_device
*pdev
,
28 struct stmmac_resources
*stmmac_res
);
30 int stmmac_pltfr_remove(struct platform_device
*pdev
);
31 extern const struct dev_pm_ops stmmac_pltfr_pm_ops
;
33 #endif /* __STMMAC_PLATFORM_H__ */