Messages in this thread | | | Date | Tue, 20 May 2008 00:17:27 -0700 | From | Andrew Morton <> | Subject | Re: [patch 2.6.26-rc2-git] gpio: sysfs interface |
| |
On Sat, 17 May 2008 17:36:55 -0700 David Brownell <david-b@pacbell.net> 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.
| |