summaryrefslogtreecommitdiff
path: root/schulung_tools/drivers/modules/hellodriver/patch-add-sysfs.diff
diff options
context:
space:
mode:
Diffstat (limited to 'schulung_tools/drivers/modules/hellodriver/patch-add-sysfs.diff')
-rw-r--r--schulung_tools/drivers/modules/hellodriver/patch-add-sysfs.diff10
1 files changed, 2 insertions, 8 deletions
diff --git a/schulung_tools/drivers/modules/hellodriver/patch-add-sysfs.diff b/schulung_tools/drivers/modules/hellodriver/patch-add-sysfs.diff
index 703b6e0..3e792fb 100644
--- a/schulung_tools/drivers/modules/hellodriver/patch-add-sysfs.diff
+++ b/schulung_tools/drivers/modules/hellodriver/patch-add-sysfs.diff
@@ -1,6 +1,6 @@
--- a/hello.c 2016-06-08 20:21:26.751180497 +0200
+++ b/hello.c 2016-06-08 20:19:31.655178050 +0200
-@@ -76,6 +76,30 @@
+@@ -76,6 +76,30 @@ static const struct file_operations hello_fops = {
.write = hello_write,
};
@@ -31,7 +31,7 @@
static int hello_probe(struct platform_device *pdev)
{
struct hello_dev *hello;
-@@ -178,6 +202,8 @@
+@@ -186,6 +210,8 @@ static int __init hello_init(void)
goto err_out1;
}
@@ -40,9 +40,3 @@
ret = platform_driver_register(&hello_driver);
if (ret != 0)
goto err_out2;
-@@ -206,4 +232,4 @@
- MODULE_AUTHOR("John Ogness <john.ogness@linutronix.de>");
- MODULE_DESCRIPTION("a great module for hello-ing!");
- MODULE_LICENSE("GPL v2");
--MODULE_VERSION("20160607");
-+MODULE_VERSION("20160608");