summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.c')
-rw-r--r--MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.c18
1 files changed, 14 insertions, 4 deletions
diff --git a/MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.c b/MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.c
index 42da5c0e6c..5393d96cd2 100644
--- a/MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.c
+++ b/MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.c
@@ -37,8 +37,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
VOID
EFIAPI
SmBusQuickRead (
- IN UINTN SmBusAddress,
- OUT RETURN_STATUS *Status OPTIONAL
+ IN UINTN SmBusAddress,
+ OUT RETURN_STATUS *Status OPTIONAL
)
{
ASSERT (!SMBUS_LIB_PEC (SmBusAddress));
@@ -77,8 +77,8 @@ SmBusQuickRead (
VOID
EFIAPI
SmBusQuickWrite (
- IN UINTN SmBusAddress,
- OUT RETURN_STATUS *Status OPTIONAL
+ IN UINTN SmBusAddress,
+ OUT RETURN_STATUS *Status OPTIONAL
)
{
ASSERT (!SMBUS_LIB_PEC (SmBusAddress));
@@ -130,6 +130,7 @@ SmBusReceiveByte (
if (Status != NULL) {
*Status = RETURN_UNSUPPORTED;
}
+
return 0;
}
@@ -175,6 +176,7 @@ SmBusSendByte (
if (Status != NULL) {
*Status = RETURN_UNSUPPORTED;
}
+
return 0;
}
@@ -216,6 +218,7 @@ SmBusReadDataByte (
if (Status != NULL) {
*Status = RETURN_UNSUPPORTED;
}
+
return 0;
}
@@ -260,6 +263,7 @@ SmBusWriteDataByte (
if (Status != NULL) {
*Status = RETURN_UNSUPPORTED;
}
+
return 0;
}
@@ -301,6 +305,7 @@ SmBusReadDataWord (
if (Status != NULL) {
*Status = RETURN_UNSUPPORTED;
}
+
return 0;
}
@@ -345,6 +350,7 @@ SmBusWriteDataWord (
if (Status != NULL) {
*Status = RETURN_UNSUPPORTED;
}
+
return 0;
}
@@ -389,6 +395,7 @@ SmBusProcessCall (
if (Status != NULL) {
*Status = RETURN_UNSUPPORTED;
}
+
return 0;
}
@@ -437,6 +444,7 @@ SmBusReadBlock (
if (Status != NULL) {
*Status = RETURN_UNSUPPORTED;
}
+
return 0;
}
@@ -483,6 +491,7 @@ SmBusWriteBlock (
if (Status != NULL) {
*Status = RETURN_UNSUPPORTED;
}
+
return 0;
}
@@ -534,5 +543,6 @@ SmBusBlockProcessCall (
if (Status != NULL) {
*Status = RETURN_UNSUPPORTED;
}
+
return 0;
}