]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Omap35xxPkg/Gpio/Gpio.c
Fix build break when doing 32-bit build with some certain C compiler option combinations.
[mirror_edk2.git] / Omap35xxPkg / Gpio / Gpio.c
index 107c93916a32d7c226e14a018b625035d861f3f4..33786aeeee86d4cf4a4ae84f28d7e5a12523a2be 100644 (file)
@@ -1,8 +1,8 @@
 /** @file
 
-  Copyright (c) 2008-2009, Apple Inc. All rights reserved.
+  Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
   
-  All rights reserved. This program and the accompanying materials
+  This program and the accompanying materials
   are licensed and made available under the terms and conditions of the BSD License
   which accompanies this distribution.  The full text of the license may be found at
   http://opensource.org/licenses/bsd-license.php
@@ -43,7 +43,7 @@ Get (
 
   DataInRegister = GpioBase(Port) + GPIO_DATAIN;
 
-  if (MmioRead32(DataInRegister) & GPIO_DATAIN_MASK(Pin)) {
+  if (MmioRead32 (DataInRegister) & GPIO_DATAIN_MASK(Pin)) {
     *Value = 1;
   } else {
     *Value = 0;