mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
net/macb: convert to kernel doc
This patch coverts struct description to the kernel doc format. There is no functional change. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
94b295edc2
commit
e018a0cce3
1 changed files with 11 additions and 3 deletions
|
@ -8,11 +8,19 @@
|
||||||
#ifndef __MACB_PDATA_H__
|
#ifndef __MACB_PDATA_H__
|
||||||
#define __MACB_PDATA_H__
|
#define __MACB_PDATA_H__
|
||||||
|
|
||||||
|
/**
|
||||||
|
* struct macb_platform_data - platform data for MACB Ethernet
|
||||||
|
* @phy_mask: phy mask passed when register the MDIO bus
|
||||||
|
* within the driver
|
||||||
|
* @phy_irq_pin: PHY IRQ
|
||||||
|
* @is_rmii: using RMII interface?
|
||||||
|
* @rev_eth_addr: reverse Ethernet address byte order
|
||||||
|
*/
|
||||||
struct macb_platform_data {
|
struct macb_platform_data {
|
||||||
u32 phy_mask;
|
u32 phy_mask;
|
||||||
int phy_irq_pin; /* PHY IRQ */
|
int phy_irq_pin;
|
||||||
u8 is_rmii; /* using RMII interface? */
|
u8 is_rmii;
|
||||||
u8 rev_eth_addr; /* reverse Ethernet address byte order */
|
u8 rev_eth_addr;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* __MACB_PDATA_H__ */
|
#endif /* __MACB_PDATA_H__ */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue