@@ -438,6 +438,7 @@ struct bcmgenet_mib_counters {
struct enet_cb {
struct sk_buff *skb;
void __iomem *bd_addr;
+
DEFINE_DMA_UNMAP_ADDR(dma_addr);
DEFINE_DMA_UNMAP_LEN(dma_len);
};
@@ -503,6 +504,7 @@ struct bcmgenet_tx_ring {
unsigned int prod_index; /* Tx ring producer index SW copy */
unsigned int cb_ptr; /* Tx ring initial CB ptr */
unsigned int end_ptr; /* Tx ring end CB ptr */
+
void (*int_enable)(struct bcmgenet_priv *priv,
struct bcmgenet_tx_ring *);
void (*int_disable)(struct bcmgenet_priv *priv,
checkpatch flagged a bunch of problems in bcmgenet.h with: WARNING: Missing a blank line after declarations, fix them. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> --- drivers/net/ethernet/broadcom/genet/bcmgenet.h | 2 ++ 1 file changed, 2 insertions(+)