Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libplatsupport/src/plat/apq8064/mux.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static struct apq8064_mux {
volatile struct apq8064_mux_regs* mux;
} _mux;

static inline struct apq8064_mux* get_mux_priv(mux_sys_t* mux) {
static inline struct apq8064_mux* get_mux_priv(const mux_sys_t* mux) {
return (struct apq8064_mux*)mux->priv;
}

Expand All @@ -28,7 +28,7 @@ static inline void set_mux_priv(mux_sys_t* mux, struct apq8064_mux* apq8064_mux)
}

static int
apq8064_mux_feature_enable(mux_sys_t* mux, mux_feature_t mux_feature, UNUSED enum mux_gpio_dir mgd)
apq8064_mux_feature_enable(const mux_sys_t* mux, mux_feature_t mux_feature, UNUSED enum mux_gpio_dir mgd)
{
struct apq8064_mux* m;
if (mux == NULL || mux->priv == NULL) {
Expand Down
4 changes: 2 additions & 2 deletions libplatsupport/src/plat/omap3/mux.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static struct omap3_mux {
volatile struct omap3_mux_regs* mux;
} _mux;

static inline struct omap3_mux* get_mux_priv(mux_sys_t* mux) {
static inline struct omap3_mux* get_mux_priv(const mux_sys_t* mux) {
return (struct omap3_mux*)mux->priv;
}

Expand All @@ -28,7 +28,7 @@ static inline void set_mux_priv(mux_sys_t* mux, struct omap3_mux* omap3_mux)
}

static int
omap3_mux_feature_enable(mux_sys_t* mux, mux_feature_t mux_feature, UNUSED enum mux_gpio_dir mgd)
omap3_mux_feature_enable(const mux_sys_t* mux, mux_feature_t mux_feature, UNUSED enum mux_gpio_dir mgd)
{
struct omap3_mux* m;
if (mux == NULL || mux->priv == NULL) {
Expand Down
Loading