Really shouldn't have any compiler warnings. This includes a check on
the rfkill_register which is marked as must check. Please use this patch
instead for clean compilation.
Sean McNeil wrote:
> It turns out the code I used for reference was setting an invalid
> initial value for the state. Setting it to the off state should
> prevent the warning trace seen by Werner. I didn't see it as my dmesg
> buffer is flooded with other messages, so I can't verify it is gone
> either.
>> Sean
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rfkill_init.patch
Type: text/x-diff
Size: 693 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20081128/647f1b36/attachment.patch