|
@@ -1,4 +1,6 @@
|
|
|
/* Load firmware into Core B on a BF561
|
|
|
+ *
|
|
|
+ * Author: Bas Vermeulen <bvermeul@blackstar.xs4all.nl>
|
|
|
*
|
|
|
* Copyright 2004-2009 Analog Devices Inc.
|
|
|
* Licensed under the GPL-2 or later.
|
|
@@ -14,9 +16,9 @@
|
|
|
|
|
|
#include <linux/device.h>
|
|
|
#include <linux/fs.h>
|
|
|
+#include <linux/init.h>
|
|
|
#include <linux/kernel.h>
|
|
|
#include <linux/miscdevice.h>
|
|
|
-#include <linux/module.h>
|
|
|
|
|
|
#define CMD_COREB_START _IO('b', 0)
|
|
|
#define CMD_COREB_STOP _IO('b', 1)
|
|
@@ -59,8 +61,4 @@ static struct miscdevice coreb_dev = {
|
|
|
.name = "coreb",
|
|
|
.fops = &coreb_fops,
|
|
|
};
|
|
|
-module_misc_device(coreb_dev);
|
|
|
-
|
|
|
-MODULE_AUTHOR("Bas Vermeulen <bvermeul@blackstar.xs4all.nl>");
|
|
|
-MODULE_DESCRIPTION("BF561 Core B Support");
|
|
|
-MODULE_LICENSE("GPL");
|
|
|
+builtin_misc_device(coreb_dev);
|