#pragma once #include #include ssize_t attr_show(struct device_driver*, char*); ssize_t attr_store(struct device_driver*, const char*, size_t); static struct driver_attribute attr = { .attr = { .name = "attr", .mode = 0644, }, .show = attr_show, .store = attr_store, }; int lork_probe(struct platform_device*); int lork_remove(struct platform_device*);