}
static char *make_module_param_string(unsigned int num_chips,
- unsigned int *num_lines, int flags)
+ const unsigned int *num_lines, int flags)
{
char *params, *new;
unsigned int i;
}
EXPORT int gpio_mockup_probe(struct gpio_mockup *ctx, unsigned int num_chips,
- unsigned int *chip_sizes, int flags)
+ const unsigned int *chip_sizes, int flags)
{
const char *devpath, *devnode, *sysname, *action;
struct gpio_mockup_chip *chip;
void gpio_mockup_unref(struct gpio_mockup *ctx);
int gpio_mockup_probe(struct gpio_mockup *ctx, unsigned int num_chips,
- unsigned int *chip_sizes, int flags);
+ const unsigned int *chip_sizes, int flags);
int gpio_mockup_remove(struct gpio_mockup *ctx);
const char *gpio_mockup_chip_name(struct gpio_mockup *ctx, unsigned int idx);