Skip to content

Commit

Permalink
net/macb: convert to kernel doc
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andy Shevchenko authored and David S. Miller committed Jul 27, 2015
1 parent 94b295e commit e018a0c
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions include/linux/platform_data/macb.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,19 @@
#ifndef __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 {
u32 phy_mask;
int phy_irq_pin; /* PHY IRQ */
u8 is_rmii; /* using RMII interface? */
u8 rev_eth_addr; /* reverse Ethernet address byte order */
int phy_irq_pin;
u8 is_rmii;
u8 rev_eth_addr;
};

#endif /* __MACB_PDATA_H__ */

0 comments on commit e018a0c

Please sign in to comment.