summaryrefslogtreecommitdiff
path: root/drivers/virtio/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/virtio/config.c')
-rw-r--r--drivers/virtio/config.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/virtio/config.c b/drivers/virtio/config.c
new file mode 100644
index 00000000..f70bcd2f
--- /dev/null
+++ b/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>
+