--- a/include/linux/units.h~units-add-the-hz-macros +++ a/include/linux/units.h @@ -4,6 +4,10 @@ #include <linux/math.h> +#define HZ_PER_KHZ 1000UL +#define KHZ_PER_MHZ 1000UL +#define HZ_PER_MHZ 1000000UL + #define MILLIWATT_PER_WATT 1000UL #define MICROWATT_PER_MILLIWATT 1000UL #define MICROWATT_PER_WATT 1000000UL