This patch touches only code in drivers/leds and include/linux/leds.h. Meanwhile enum led_brightness is used in many other parts of kernel as well, just try git grep "enum led_brightness" Also changing it probably to a simple int would be better. But if we wanted a typedef anyway, it should be called led_brightness_t. Marek