#else
static inline struct tegra_bpmp *tegra_bpmp_get(struct device *dev)
{
- return ERR_PTR(-ENOTSUPP);
+ return ERR_PTR(-ENODEV);
}
static inline struct tegra_bpmp *tegra_bpmp_get_with_id(struct device *dev,
static inline void tegra_bpmp_put(struct tegra_bpmp *bpmp)
{
}
+
static inline int tegra_bpmp_transfer_atomic(struct tegra_bpmp *bpmp,
struct tegra_bpmp_message *msg)
{
- return -ENOTSUPP;
+ return -ENODEV;
}
+
static inline int tegra_bpmp_transfer(struct tegra_bpmp *bpmp,
struct tegra_bpmp_message *msg)
{
- return -ENOTSUPP;
+ return -ENODEV;
}
+
static inline void tegra_bpmp_mrq_return(struct tegra_bpmp_channel *channel,
int code, const void *data,
size_t size)
tegra_bpmp_mrq_handler_t handler,
void *data)
{
- return -ENOTSUPP;
+ return -ENODEV;
}
+
static inline void tegra_bpmp_free_mrq(struct tegra_bpmp *bpmp,
unsigned int mrq, void *data)
{