lkml.org 
[lkml]   [2008]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2008-05-20 09:21    [W:0.959 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site