Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946663AbXBIQoS (ORCPT ); Fri, 9 Feb 2007 11:44:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1946639AbXBIQjU (ORCPT ); Fri, 9 Feb 2007 11:39:20 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:51704 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946651AbXBIQjQ (ORCPT ); Fri, 9 Feb 2007 11:39:16 -0500 To: torvalds@linux-foundation.org Subject: [PATCH] hpet: trivial __iomem annotations Cc: linux-kernel@vger.kernel.org Message-Id: From: Al Viro Date: Fri, 09 Feb 2007 16:39:15 +0000 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1073 Lines: 38 Signed-off-by: Al Viro --- arch/i386/kernel/hpet.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/i386/kernel/hpet.c b/arch/i386/kernel/hpet.c index 45a8685..0b29d41 100644 --- a/arch/i386/kernel/hpet.c +++ b/arch/i386/kernel/hpet.c @@ -12,7 +12,7 @@ /* FSEC = 10^-15 NSEC = 10^-9 */ #define FSEC_PER_NSEC 1000000 -static void *hpet_ptr; +static void __iomem *hpet_ptr; static cycle_t read_hpet(void) { @@ -40,8 +40,7 @@ static int __init init_hpet_clocksource(void) return -ENODEV; /* calculate the hpet address: */ - hpet_base = - (void __iomem*)ioremap_nocache(hpet_address, HPET_MMAP_SIZE); + hpet_base = ioremap_nocache(hpet_address, HPET_MMAP_SIZE); hpet_ptr = hpet_base + HPET_COUNTER; /* calculate the frequency: */ -- 1.5.0-rc2.GIT - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/