diff options
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 6bd5d460b7c1..7a071535c4c0 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -2557,6 +2557,9 @@ extern int netdev_notice(const struct net_device *dev, const char *format, ...) | |||
2557 | extern int netdev_info(const struct net_device *dev, const char *format, ...) | 2557 | extern int netdev_info(const struct net_device *dev, const char *format, ...) |
2558 | __attribute__ ((format (printf, 2, 3))); | 2558 | __attribute__ ((format (printf, 2, 3))); |
2559 | 2559 | ||
2560 | #define MODULE_ALIAS_NETDEV(device) \ | ||
2561 | MODULE_ALIAS("netdev-" device) | ||
2562 | |||
2560 | #if defined(DEBUG) | 2563 | #if defined(DEBUG) |
2561 | #define netdev_dbg(__dev, format, args...) \ | 2564 | #define netdev_dbg(__dev, format, args...) \ |
2562 | netdev_printk(KERN_DEBUG, __dev, format, ##args) | 2565 | netdev_printk(KERN_DEBUG, __dev, format, ##args) |