Merge tag 'armsoc-dt64' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[cascardo/linux.git] / drivers / net / ethernet / stmicro / stmmac / stmmac_platform.h
1 /*******************************************************************************
2   Copyright (C) 2007-2009  STMicroelectronics Ltd
3
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.
7
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
11   more details.
12
13   The full GNU General Public License is included in this distribution in
14   the file called "COPYING".
15
16   Author: Giuseppe Cavallaro <peppe.cavallaro@st.com>
17 *******************************************************************************/
18
19 #ifndef __STMMAC_PLATFORM_H__
20 #define __STMMAC_PLATFORM_H__
21
22 #include "stmmac.h"
23
24 struct plat_stmmacenet_data *
25 stmmac_probe_config_dt(struct platform_device *pdev, const char **mac);
26
27 int stmmac_get_platform_resources(struct platform_device *pdev,
28                                   struct stmmac_resources *stmmac_res);
29
30 int stmmac_pltfr_remove(struct platform_device *pdev);
31 extern const struct dev_pm_ops stmmac_pltfr_pm_ops;
32
33 #endif /* __STMMAC_PLATFORM_H__ */