--- a/master/globals.h Fri Apr 21 13:05:01 2006 +0000
+++ b/master/globals.h Mon Apr 24 10:10:02 2006 +0000
@@ -1,9 +1,5 @@
/******************************************************************************
*
- * g l o b a l s . h
- *
- * Global definitions and macros.
- *
* $Id$
*
* Copyright (C) 2006 Florian Pose, Ingenieurgemeinschaft IgH
@@ -25,6 +21,13 @@
*
*****************************************************************************/
+/**
+ \file
+ Global definitions and macros.
+*/
+
+/*****************************************************************************/
+
#ifndef _EC_GLOBALS_
#define _EC_GLOBALS_
@@ -89,6 +92,10 @@
#define EC_LIT(X) #X
#define EC_STR(X) EC_LIT(X)
+/**
+ Convenience macro for defining SysFS attributes.
+*/
+
#define EC_SYSFS_READ_ATTR(NAME) \
static struct attribute attr_##NAME = { \
.name = EC_STR(NAME), .owner = THIS_MODULE, .mode = S_IRUGO \