mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
move GENMASK definition to util.h
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -14,12 +14,6 @@
|
||||
#ifndef __MT76x2_REGS_H
|
||||
#define __MT76x2_REGS_H
|
||||
|
||||
#include <linux/bitops.h>
|
||||
|
||||
#ifndef GENMASK
|
||||
#define GENMASK(h, l) (((U32_C(1) << ((h) - (l) + 1)) - 1) << (l))
|
||||
#endif
|
||||
|
||||
#define MT_ASIC_VERSION 0x0000
|
||||
|
||||
#define MT76XX_REV_E3 0x22
|
||||
|
||||
Reference in New Issue
Block a user