diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-04-18 17:34:40 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-04-18 17:34:40 +0200 |
commit | bfb105b36e902ffc1aec9424a38245db693eea02 (patch) | |
tree | 33cb1b9c5d2002ce1c76dc3575760e3c6a57f125 /1/config.h | |
parent | 2d8b061d0f442d8a8853025460a836e3482cc09b (diff) |
dynamically get major:minor numbers + register /dev node + /sys/class node
Diffstat (limited to '1/config.h')
-rw-r--r-- | 1/config.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,5 +1,4 @@ #pragma once -#define NODE_MAJOR 500 -#define NODE_MINOR 0 +#define DRV_NAME "lork" |