summaryrefslogtreecommitdiffstats
path: root/lib/dim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dim')
-rw-r--r--lib/dim/Makefile4
-rw-r--r--lib/dim/dim.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/dim/Makefile b/lib/dim/Makefile
index 1d6858a108..c4cc4026c4 100644
--- a/lib/dim/Makefile
+++ b/lib/dim/Makefile
@@ -2,6 +2,6 @@
# DIM Dynamic Interrupt Moderation library
#
-obj-$(CONFIG_DIMLIB) += dim.o
+obj-$(CONFIG_DIMLIB) += dimlib.o
-dim-y := dim.o net_dim.o rdma_dim.o
+dimlib-objs := dim.o net_dim.o rdma_dim.o
diff --git a/lib/dim/dim.c b/lib/dim/dim.c
index e89aaf07bd..83b65ac74d 100644
--- a/lib/dim/dim.c
+++ b/lib/dim/dim.c
@@ -82,3 +82,6 @@ bool dim_calc_stats(struct dim_sample *start, struct dim_sample *end,
return true;
}
EXPORT_SYMBOL(dim_calc_stats);
+
+MODULE_DESCRIPTION("Dynamic Interrupt Moderation (DIM) library");
+MODULE_LICENSE("Dual BSD/GPL");