Skip to content

Commit

Permalink
[PATCH] hpet: trivial __iomem annotations
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Feb 9, 2007
1 parent c3cf83b commit 5b71bdd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions arch/i386/kernel/hpet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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: */
Expand Down

0 comments on commit 5b71bdd

Please sign in to comment.