Changeset 246fe22 in rtems


Ignore:
Timestamp:
Apr 13, 2015, 9:07:54 AM (4 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
14d55deb
Parents:
bb2f220
git-author:
Daniel Hellstrom <daniel@…> (04/13/15 09:07:54)
git-committer:
Daniel Hellstrom <daniel@…> (04/16/15 23:10:29)
Message:

DRVMGR: change name of freq_get to get_freq

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/shared/drvmgr/ambapp_bus.c

    rbb2f220 r246fe22  
    7272        .int_unmask     = ambapp_int_unmask,
    7373        .get_params     = ambapp_get_params,
    74         .freq_get       = ambapp_bus_freq_get,
     74        .get_freq       = ambapp_bus_freq_get,
    7575#ifdef AMBAPPBUS_INFO_AVAIL
    7676        .info_dev       = ambapp_dev_info,
  • cpukit/libdrvmgr/drvmgr.h

    rbb2f220 r246fe22  
    142142        int     (*get_params)(struct drvmgr_dev *, struct drvmgr_bus_params *);
    143143        /* Get Frequency of Bus */
    144         int     (*freq_get)(struct drvmgr_dev*, int, unsigned int*);
     144        int     (*get_freq)(struct drvmgr_dev*, int, unsigned int*);
    145145        /*! Function called to request information about a device. The bus
    146146         *  driver interpret the bus-specific information about the device.
  • cpukit/libdrvmgr/drvmgr_drvinf.c

    rbb2f220 r246fe22  
    5555        unsigned int *freq_hz)
    5656{
    57         if (!dev || !dev->parent || !dev->parent->ops->freq_get)
     57        if (!dev || !dev->parent || !dev->parent->ops->get_freq)
    5858                return -1;
    5959
    60         return dev->parent->ops->freq_get(dev, options, freq_hz);
     60        return dev->parent->ops->get_freq(dev, options, freq_hz);
    6161}
    6262
  • cpukit/libpci/pci_bus.c

    rbb2f220 r246fe22  
    6262        struct drvmgr_dev *dev,
    6363        int index);
    64 int pcibus_freq_get(
     64static int pcibus_get_freq(
    6565        struct drvmgr_dev *dev,
    6666        int options,
     
    9393        .int_unmask     = NULL,
    9494        .get_params     = pcibus_get_params,
    95         .freq_get       = pcibus_freq_get,
     95        .get_freq       = pcibus_get_freq,
    9696#ifdef PCIBUS_INFO
    9797        .info_dev       = pcibus_dev_info,
     
    256256}
    257257
    258 int pcibus_freq_get(
     258static int pcibus_get_freq(
    259259        struct drvmgr_dev *dev,
    260260        int options,
Note: See TracChangeset for help on using the changeset viewer.