mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-10 19:31:48 +00:00
pc_nic_drv: implement gpiod_get_optional() as dummy
This commit is contained in:
parent
3b7124bb37
commit
a90e0e249e
@ -407,6 +407,14 @@ struct gpio_desc * devm_gpiod_get_optional(struct device * dev, const char * con
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#include <linux/gpio/consumer.h>
|
||||||
|
|
||||||
|
struct gpio_desc * __must_check gpiod_get_optional(struct device * dev,const char * con_id,enum gpiod_flags flags)
|
||||||
|
{
|
||||||
|
lx_emul_trace(__func__);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
#include <linux/clk.h>
|
#include <linux/clk.h>
|
||||||
|
|
||||||
struct clk *devm_clk_get_optional_enabled(struct device *dev, const char *id)
|
struct clk *devm_clk_get_optional_enabled(struct device *dev, const char *id)
|
||||||
|
@ -384,14 +384,6 @@ int gnet_stats_copy_queue(struct gnet_dump * d,struct gnet_stats_queue __percpu
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#include <linux/gpio/consumer.h>
|
|
||||||
|
|
||||||
struct gpio_desc * __must_check gpiod_get_optional(struct device * dev,const char * con_id,enum gpiod_flags flags)
|
|
||||||
{
|
|
||||||
lx_emul_trace_and_stop(__func__);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#include <linux/gpio/consumer.h>
|
#include <linux/gpio/consumer.h>
|
||||||
|
|
||||||
int gpiod_get_value_cansleep(const struct gpio_desc * desc)
|
int gpiod_get_value_cansleep(const struct gpio_desc * desc)
|
||||||
|
@ -392,14 +392,6 @@ int gnet_stats_copy_queue(struct gnet_dump * d,struct gnet_stats_queue __percpu
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#include <linux/gpio/consumer.h>
|
|
||||||
|
|
||||||
struct gpio_desc * __must_check gpiod_get_optional(struct device * dev,const char * con_id,enum gpiod_flags flags)
|
|
||||||
{
|
|
||||||
lx_emul_trace_and_stop(__func__);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#include <linux/gpio/consumer.h>
|
#include <linux/gpio/consumer.h>
|
||||||
|
|
||||||
int gpiod_get_value_cansleep(const struct gpio_desc * desc)
|
int gpiod_get_value_cansleep(const struct gpio_desc * desc)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user