Re: [PWM v5 1/3] PWM: Implement a generic PWM framework

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike:

On Sun, Feb 20, 2011 at 9:33 PM, Mike Frysinger <vapier.adi@xxxxxxxxx> wrote:
> On Sun, Feb 20, 2011 at 22:18, Bill Gatliff wrote:
>> On Sun, Feb 20, 2011 at 4:46 PM, Mike Frysinger <vapier.adi@xxxxxxxxx> wrote:
>>>> +static const struct attribute_group pwm_device_attr_group = {
>>>> +       .attrs = (struct attribute **) pwm_attrs,
>>>> +};
>>>
>>> should attribute_group have its attrs member constified ?
>>
>> Isn't it already, given that the pwm_device_attr_group definition is const?
>
> if it were already, you wouldnt need that cast

Aah, so you are suggesting that I patch the attribute_group structure
definition, no?

Scary. Not. My. Code.  :)


b.g.
-- 
Bill Gatliff
bgat@xxxxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-embedded" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Gstreamer Embedded]     [Linux MMC Devel]     [U-Boot V2]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux ARM Kernel]     [Linux OMAP]     [Linux SCSI]

  Powered by Linux