aboutsummaryrefslogtreecommitdiff
path: root/driver/platform.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-05-14 17:25:12 +0200
committerlonkaars <loek@pipeframe.xyz>2024-05-14 17:25:12 +0200
commitcfcf4b94f312eeb88e462f3eec88b932d672ef3d (patch)
tree798ffcc8d334e0623b6a9c9e3fcf287829387631 /driver/platform.c
parent773e13be02f1f42c8ac578031282c9455be023bb (diff)
WIP char->platform driver
Diffstat (limited to 'driver/platform.c')
-rw-r--r--driver/platform.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/driver/platform.c b/driver/platform.c
new file mode 100644
index 0000000..85aefec
--- /dev/null
+++ b/driver/platform.c
@@ -0,0 +1,12 @@
+#include "platform.h"
+
+int lork_probe(struct platform_device* dev) {
+ printk("%s(%s)\n", __PRETTY_FUNCTION__, dev->name);
+ return 0;
+}
+
+int lork_remove(struct platform_device* dev) {
+ printk("%s(%s)\n", __PRETTY_FUNCTION__, dev->name);
+ return 0;
+}
+