summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2012-02-15 11:09:14 -0800
committerGeoff Levand <geoff@infradead.org>2012-02-15 11:09:14 -0800
commit8a4a5412c7b7c2fa0bf2220036fc974817988237 (patch)
treecec62bbc40e7b3d2608b4523256c847898fab67a
parent303177dbca468752721daf8d6cb8e87b6e54d5be (diff)
downloadtalos-petitboot-8a4a5412c7b7c2fa0bf2220036fc974817988237.tar.gz
talos-petitboot-8a4a5412c7b7c2fa0bf2220036fc974817988237.zip
Add usage comment to parse_user_event
Signed-off-by: Geoff Levand <geoff@infradead.org>
-rw-r--r--discover/event-parser.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/discover/event-parser.c b/discover/event-parser.c
index 0cfda9a..0b96a09 100644
--- a/discover/event-parser.c
+++ b/discover/event-parser.c
@@ -7,6 +7,12 @@
#include "event.h"
#include "parser-utils.h"
+/**
+ * parse_user_event - Parse a user event.
+ *
+ * Understands params: name, image, args.
+ */
+
int parse_user_event(struct device *device, struct event *event)
{
struct boot_option *opt;
OpenPOWER on IntegriCloud