#ifndef OUI_H #define OUI_H extern const char *lookup_vendor(unsigned int id); extern void dissector_init_oui(void); extern void dissector_cleanup_oui(void); static inline const char *lookup_vendor_str(unsigned int id) { return lookup_vendor(id) ? : "Unknown"; } #endif /* OUI_H */ ref='https://git.distanz.ch/cgit.cgi/linux/net-next.git/atom/?h=nds-private-remove' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2016-11-13 14:37:18 +0100
committerMark Brown <broonie@kernel.org>2016-11-14 11:21:26 +0000
commite3ce4f44f6a0e698f945633355d1ba5fbd32cfa6 (patch)
treec4d9657bf7ad5315374101570ef904650b337730
parent7454346b0cbc2a71311e1edcf1da5f1113c8a45c (diff)
spi: fsl-espi: remove usage of mpc8xxx_spi->flags
Change the check to access property "mode" directly. This allows us to get rid of mpc8xxx_spi->flags in a subsequent patch in this patch series as it's used nowhere else. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--drivers/spi/spi-fsl-espi.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/spi/spi-fsl-espi.c b/drivers/spi/spi-fsl-espi.c