summaryrefslogtreecommitdiffstats
path: root/cpukit/libdrvmgr
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libdrvmgr')
-rw-r--r--cpukit/libdrvmgr/drvmgr.h2
-rw-r--r--cpukit/libdrvmgr/drvmgr_drvinf.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libdrvmgr/drvmgr.h b/cpukit/libdrvmgr/drvmgr.h
index a08424523c..6780efe9fd 100644
--- a/cpukit/libdrvmgr/drvmgr.h
+++ b/cpukit/libdrvmgr/drvmgr.h
@@ -141,7 +141,7 @@ struct drvmgr_bus_ops {
/* Get Parameters */
int (*get_params)(struct drvmgr_dev *, struct drvmgr_bus_params *);
/* Get Frequency of Bus */
- int (*freq_get)(struct drvmgr_dev*, int, unsigned int*);
+ int (*get_freq)(struct drvmgr_dev*, int, unsigned int*);
/*! Function called to request information about a device. The bus
* driver interpret the bus-specific information about the device.
*/
diff --git a/cpukit/libdrvmgr/drvmgr_drvinf.c b/cpukit/libdrvmgr/drvmgr_drvinf.c
index 45926f1f12..e0cd50d33c 100644
--- a/cpukit/libdrvmgr/drvmgr_drvinf.c
+++ b/cpukit/libdrvmgr/drvmgr_drvinf.c
@@ -54,10 +54,10 @@ int drvmgr_freq_get(
int options,
unsigned int *freq_hz)
{
- if (!dev || !dev->parent || !dev->parent->ops->freq_get)
+ if (!dev || !dev->parent || !dev->parent->ops->get_freq)
return -1;
- return dev->parent->ops->freq_get(dev, options, freq_hz);
+ return dev->parent->ops->get_freq(dev, options, freq_hz);
}
/* Get driver prefix */