summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shevchenko2015-07-24 20:24:04 +0200
committerDavid S. Miller2015-07-27 10:10:29 +0200
commite018a0cce3d849bc73e72686c571420adc40bad2 (patch)
tree7b5c067406be60a0edf92bee7feec7ac572f449d
parentnet/macb: replace macb_count_tx_descriptors() by DIV_ROUND_UP() (diff)
downloadkernel-qcow2-linux-e018a0cce3d849bc73e72686c571420adc40bad2.tar.gz
kernel-qcow2-linux-e018a0cce3d849bc73e72686c571420adc40bad2.tar.xz
kernel-qcow2-linux-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>
-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__ */