summaryrefslogtreecommitdiff
path: root/trafgen_dump.h
blob: 860a9560c9027202ecafe858fe14e63223f2c0fd (plain)
1
2
3
4
5
6
7
8
#ifndef TRAFGEN_DUMP_H
#define TRAFGEN_DUMP_H

#include "trafgen_conf.h"

extern int packet_dump_fd(struct packet *pkt, int fd);

#endif /* TRAFGEN_DUMP_H */
ct>mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2017-02-07 15:02:56 -0800
committerDavid S. Miller <davem@davemloft.net>2017-02-10 13:51:02 -0500
commitfc182b8512aa9b71c6cb43be4953c0ad9ebea908 (patch)
tree5ec8d8849426784fb7c5ec84fede30f880142656
parent43cc277a93a2b74430e2ae03e92bd9bc4f303814 (diff)
net: macb: fix build errors when linux/phy*.h is removed from net/dsa.h
drivers/net/ethernet/cadence/macb.h:862:33: sparse: expected ; at end of declaration drivers/net/ethernet/cadence/macb.h:862:33: sparse: Expected } at end of struct-union-enum-specifier drivers/net/ethernet/cadence/macb.h:862:33: sparse: got phy_interface drivers/net/ethernet/cadence/macb.h:877:1: sparse: Expected ; at the end of type declaration drivers/net/ethernet/cadence/macb.h:877:1: sparse: got } In file included from drivers/net/ethernet/cadence/macb_pci.c:29:0: drivers/net/ethernet/cadence/macb.h:862:2: error: unknown type name 'phy_interface_t' phy_interface_t phy_interface; ^~~~~~~~~~~~~~~ Add linux/phy.h to macb.h Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat