Changeset 971f50e7 in mainline for uspace/drv/time/cmos-rtc/cmos-rtc.c


Ignore:
Timestamp:
2012-08-20T22:37:25Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6560960
Parents:
762083b
Message:

rtc: use ioport8_t* instead of uint32_t* as the type of the io_addr pointer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/time/cmos-rtc/cmos-rtc.c

    r762083b r971f50e7  
    6666        fibril_mutex_t mutex;
    6767        /** The base I/O address of the device registers */
    68         uint32_t io_addr;
     68        ioport8_t *io_addr;
    6969        /** The I/O port used to access the CMOS registers */
    7070        ioport8_t *port;
     
    222222                                goto error;
    223223                        }
    224                         rtc->io_addr = res->res.io_range.address;
     224                        rtc->io_addr = (ioport8_t *) res->res.io_range.address;
    225225                        ioport = true;
    226226                        ddf_msg(LVL_NOTE, "Device %s was assigned I/O address \
Note: See TracChangeset for help on using the changeset viewer.