summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-07-24 21:24:04 +0300
committerDavid S. Miller <davem@davemloft.net>2015-07-27 01:10:29 -0700
commite018a0cce3d849bc73e72686c571420adc40bad2 (patch)
tree7b5c067406be60a0edf92bee7feec7ac572f449d /include/linux
parent94b295edc2c678212376a8aca9308cf6ee430b89 (diff)
downloadlinux-stable-e018a0cce3d849bc73e72686c571420adc40bad2.tar.gz
linux-stable-e018a0cce3d849bc73e72686c571420adc40bad2.tar.bz2
linux-stable-e018a0cce3d849bc73e72686c571420adc40bad2.zip
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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/platform_data/macb.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/include/linux/platform_data/macb.h b/include/linux/platform_data/macb.h
index 044a124bfbbc..21b15f6fee25 100644
--- a/include/linux/platform_data/macb.h
+++ b/include/linux/platform_data/macb.h
@@ -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__ */