X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Omap35xxPkg%2FGpio%2FGpio.c;h=33786aeeee86d4cf4a4ae84f28d7e5a12523a2be;hb=23394428fdfe351ae9382576cdeee2834a2c637d;hp=107c93916a32d7c226e14a018b625035d861f3f4;hpb=026e30c4bb80a73ac7c5c286711ae07b1c51108b;p=mirror_edk2.git diff --git a/Omap35xxPkg/Gpio/Gpio.c b/Omap35xxPkg/Gpio/Gpio.c index 107c93916a..33786aeeee 100644 --- a/Omap35xxPkg/Gpio/Gpio.c +++ b/Omap35xxPkg/Gpio/Gpio.c @@ -1,8 +1,8 @@ /** @file - Copyright (c) 2008-2009, Apple Inc. All rights reserved. + Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
- 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;