#ifndef VLAN_H #define VLAN_H #include #include static inline uint16_t vlan_tci2prio(uint16_t tci) { return (tci & 0xe000) >> 13; } static inline uint16_t vlan_tci2cfi(uint16_t tci) { return (tci & 0x1000) >> 12; } static inline uint16_t vlan_tci2vid(uint16_t tci) { return tci & 0x0fff; } #endif stanz.ch/cgit.cgi/linux/net-next.git/atom/Documentation/i2c/fault-codes?h=nds-private-remove' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2016-08-31 11:37:05 +0200
committerMark Brown <broonie@kernel.org>2016-09-01 20:53:52 +0100
commit6ffc84dd1590a7af837a23c8d2c405eaa0a7faef (patch)
tree1302b3232d0bd8cb63616204b887fb54818d97e7 /Documentation/i2c/fault-codes
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
spi: sh-msiof: Use ARCH_SHMOBILE instead of SUPERH
"spi_sh_msiof" is used on sh7723 and sh7724 only. As all of the above select ARCH_SHMOBILE, restrict its driver dependencies from SUPERH to ARCH_SHMOBILE. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/i2c/fault-codes')