diff --git a/src/tuxedo_keyboard.c b/src/tuxedo_keyboard.c index 8469d34..f86be46 100644 --- a/src/tuxedo_keyboard.c +++ b/src/tuxedo_keyboard.c @@ -18,6 +18,9 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#define DRIVER_NAME "tuxedo_keyboard" +#define pr_fmt(fmt) DRIVER_NAME ": " fmt + #include #include #include @@ -33,9 +36,6 @@ MODULE_VERSION("1.0.0"); /* :::: Module specific Constants and simple Macros :::: */ -#define DRIVER_NAME "tuxedo_keyboard" -#define pr_fmt(fmt) DRIVER_NAME ": " fmt - #define __TUXEDO_PR(lvl, fmt, ...) do { pr_##lvl(fmt, ##__VA_ARGS__); } while (0) #define TUXEDO_INFO(fmt, ...) __TUXEDO_PR(info, fmt, ##__VA_ARGS__) #define TUXEDO_ERROR(fmt, ...) __TUXEDO_PR(err, fmt, ##__VA_ARGS__)