Skip to content

Commit 78f9b53

Browse files
committed
Add "the" to make the sentence grammatically correct
1 parent 2005ed8 commit 78f9b53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lkmpg.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1322,7 +1322,7 @@ \section{sysfs: Interacting with your module}
13221322
void device_remove_file(struct device *, const struct device_attribute *);
13231323
\end{code}
13241324

1325-
To read or write attributes, \cpp|show()| or \cpp|store()| method must be specified when declaring the attribute.
1325+
To read or write attributes, the \cpp|show()| or \cpp|store()| method must be specified when declaring the attribute.
13261326
For the common cases \src{include/linux/sysfs.h} provides convenience macros (\cpp|__ATTR|, \cpp|__ATTR_RO|, \cpp|__ATTR_WO|, etc.) to make defining attributes easier as well as making code more concise and readable.
13271327

13281328
An example of a hello world module which includes the creation of a variable accessible via sysfs is given below.

0 commit comments

Comments
 (0)