aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-02-16 14:43:53 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-16 14:43:53 +1100
commitea7d806ab0ba7acbc4143261c2648864d3def1f1 (patch)
tree952d3c47d64393ff882d11f267c40569bcb912ed
parent6551cdc693158a26a9a8a902d1d0c6a2cf529fab (diff)
downloadskiboot-ea7d806ab0ba7acbc4143261c2648864d3def1f1.zip
skiboot-ea7d806ab0ba7acbc4143261c2648864d3def1f1.tar.gz
skiboot-ea7d806ab0ba7acbc4143261c2648864d3def1f1.tar.bz2
s/OpalMessageType/opal_msg_type/ removing CamelCase and being consistent!
We now consistently use msg as abbreviation for message in OPAL API. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--core/opal-msg.c2
-rw-r--r--doc/opal-api/opal-messages.txt2
-rw-r--r--include/opal-msg.h2
-rw-r--r--include/opal.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/core/opal-msg.c b/core/opal-msg.c
index 47c5a12..cd35162 100644
--- a/core/opal-msg.c
+++ b/core/opal-msg.c
@@ -36,7 +36,7 @@ static LIST_HEAD(msg_pending_list);
static struct lock opal_msg_lock = LOCK_UNLOCKED;
-int _opal_queue_msg(enum OpalMessageType msg_type, void *data,
+int _opal_queue_msg(enum opal_msg_type msg_type, void *data,
void (*consumed)(void *data), size_t num_params,
const u64 *params)
{
diff --git a/doc/opal-api/opal-messages.txt b/doc/opal-api/opal-messages.txt
index 878ecc6..448e9c7 100644
--- a/doc/opal-api/opal-messages.txt
+++ b/doc/opal-api/opal-messages.txt
@@ -2,7 +2,7 @@ OAPL_MESSAGE
============
The host OS can use OPAL_GET_MSG to retrive messages queued by OPAL. The
-messages are defined by enum OpalMessageType. The host is notified of there
+messages are defined by enum opal_msg_type. The host is notified of there
being messages to be consumed by the OPAL_EVENT_MSG_PENDING bit being set.
An opal_msg is:
diff --git a/include/opal-msg.h b/include/opal-msg.h
index a271e18..a75bc4e 100644
--- a/include/opal-msg.h
+++ b/include/opal-msg.h
@@ -27,7 +27,7 @@
*/
#define OPAL_MAX_ASYNC_COMP 8
-int _opal_queue_msg(enum OpalMessageType msg_type, void *data,
+int _opal_queue_msg(enum opal_msg_type msg_type, void *data,
void (*consumed)(void *data), size_t num_params,
const u64 *params);
diff --git a/include/opal.h b/include/opal.h
index bf0365b..0a57bd0 100644
--- a/include/opal.h
+++ b/include/opal.h
@@ -407,7 +407,7 @@ enum OpalLPCAddressType {
OPAL_LPC_FW = 2,
};
-enum OpalMessageType {
+enum opal_msg_type {
OPAL_MSG_ASYNC_COMP = 0, /* params[0] = token, params[1] = rc,
* additional params function-specific
*/