提交 2d0f76be 编写于 作者: J Jacob Keller 提交者: Jeff Kirsher

fm10k: use DRV_SUMMARY to reduce code duplication

Use DRV_SUMMARY, similar to DRV_VERSION so that we don't have to
duplicate the driver summary in multiple places.
Signed-off-by: NJacob Keller <jacob.e.keller@intel.com>
Tested-by: NKrishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
上级 144d8305
...@@ -29,15 +29,15 @@ ...@@ -29,15 +29,15 @@
#include "fm10k.h" #include "fm10k.h"
#define DRV_VERSION "0.19.3-k" #define DRV_VERSION "0.19.3-k"
#define DRV_SUMMARY "Intel(R) Ethernet Switch Host Interface Driver"
const char fm10k_driver_version[] = DRV_VERSION; const char fm10k_driver_version[] = DRV_VERSION;
char fm10k_driver_name[] = "fm10k"; char fm10k_driver_name[] = "fm10k";
static const char fm10k_driver_string[] = static const char fm10k_driver_string[] = DRV_SUMMARY;
"Intel(R) Ethernet Switch Host Interface Driver";
static const char fm10k_copyright[] = static const char fm10k_copyright[] =
"Copyright (c) 2013 Intel Corporation."; "Copyright (c) 2013 Intel Corporation.";
MODULE_AUTHOR("Intel Corporation, <linux.nics@intel.com>"); MODULE_AUTHOR("Intel Corporation, <linux.nics@intel.com>");
MODULE_DESCRIPTION("Intel(R) Ethernet Switch Host Interface Driver"); MODULE_DESCRIPTION(DRV_SUMMARY);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_VERSION(DRV_VERSION); MODULE_VERSION(DRV_VERSION);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册