aboutsummaryrefslogtreecommitdiff
path: root/src/cyber_device_device_class.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cyber_device_device_class.c')
-rw-r--r--src/cyber_device_device_class.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cyber_device_device_class.c b/src/cyber_device_device_class.c
index 56795e3..98e9557 100644
--- a/src/cyber_device_device_class.c
+++ b/src/cyber_device_device_class.c
@@ -25,17 +25,17 @@
extern struct cyber_device device;
-ssize_t available_show(struct class * class, struct class_attribute * attribute, char * __user buffer)
+static ssize_t available_show(struct class * class, struct class_attribute * attribute, char * __user buffer)
{
return sprintf(buffer, "infinite\n");
}
-CLASS_ATTR_RO(available);
+static CLASS_ATTR_RO(available);
-ssize_t storage_technology_show(struct class * class, struct class_attribute * attribute, char * __user buffer)
+static ssize_t storage_technology_show(struct class * class, struct class_attribute * attribute, char * __user buffer)
{
return sprintf(buffer, "condensed di-hydrogen-monoxide\n");
}
-CLASS_ATTR_RO(storage_technology);
+static CLASS_ATTR_RO(storage_technology);
static int cyber_device_handle_uevent(struct device * kernelDevice, struct kobj_uevent_env * environment)
{