• Bjorn Helgaas's avatar
    [PATCH] HPET init/add fixes · a454ccd7
    Bjorn Helgaas authored
    Cleanup/bugfix HPET driver:
    
        - hpet_init() could return failure with driver still registered with ACPI
        - driver add() functions were marked __init, but can be called any time
          until driver is unregistered (not a real problem until HPETs can be
          hotplugged)
        - time interpolator registration now done in driver add() path, so we can
          support removal of HPETs someday
        - physical MMIO address should be printed, not ioremapped address
    Signed-off-by: default avatarBjorn Helgaas <bjorn.helgaas@hp.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    a454ccd7
hpet.c 20.9 KB