Re: [patch 2.6.26-rc2-git] gpio: sysfs interface

From: Andrew Morton
Date: Tue May 20 2008 - 03:19:33 EST


On Sat, 17 May 2008 17:36:55 -0700 David Brownell <david-b@xxxxxxxxxxx> wrote:

> +static const struct attribute *gpiochip_attrs[] = {
> + &dev_attr_base.attr,
> + &dev_attr_label.attr,
> + &dev_attr_ngpio.attr,
> + NULL,
> +};
> +
> +static const struct attribute_group gpiochip_attr_group = {
> + .attrs = (struct attribute **) gpiochip_attrs,
> +};

ick. So we got caught partway through constification and we need to
patch it up with a cast.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/