Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 37cfd410 in mainline


Ignore:
Timestamp:
2013-02-10T22:18:24Z (9 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master
Children:
ed0a9c5
Parents:
92f9cf3e
Message:

specify the base address to get access to the required register

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/include/drivers/am335x/ctrl_module_regs.h

    r92f9cf3e r37cfd410  
    3737#define _KERN_AM335X_CTRL_MODULE_REGS_H_
    3838
    39 #define AM335x_CTRL_MODULE_REG_ADDR(name) \
     39#define AM335x_CTRL_MODULE_REG_ADDR(base, name) \
    4040            ((ioport32_t *)(AM335x_CTRL_MODULE_##name##_OFFSET + \
    41             AM335x_CTRL_MODULE_BASE_ADDRESS))
     41            ((ioport8_t *) base)))
    4242
    4343#define AM335x_CTRL_MODULE_CONTROL_REVISION_OFFSET          0x00
Note: See TracChangeset for help on using the changeset viewer.