summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/virtio/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/virtio/config.c')
-rw-r--r--kernel/drivers/virtio/config.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/drivers/virtio/config.c b/kernel/drivers/virtio/config.c
new file mode 100644
index 000000000..f70bcd2ff
--- /dev/null
+++ b/kernel/drivers/virtio/config.c
@@ -0,0 +1,12 @@
+/* Configuration space parsing helpers for virtio.
+ *
+ * The configuration is [type][len][... len bytes ...] fields.
+ *
+ * Copyright 2007 Rusty Russell, IBM Corporation.
+ * GPL v2 or later.
+ */
+#include <linux/err.h>
+#include <linux/virtio.h>
+#include <linux/virtio_config.h>
+#include <linux/bug.h>
+