lkml.org 
[lkml]   [2012]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] gpio/it8761e: Restrict it8761e gpio driver to x86.
On Thu, Jan 12, 2012 at 2:22 AM, Milton Miller <miltonm@bga.com> wrote:
> On Wed Jan 11 2012 - 14:16:36 EST, Grant Likely wrote:
>> This driver does an unconditional read of io space during module init which
>> causes a bad dereference on ARM. It looks to me like this is an x86 only
>> drivers, so restrict it to only compile on x86.
>
>> config GPIO_IT8761E
>>          tristate "IT8761E GPIO support"
>> +        depends on X86
>>          help
>>            Say yes here to support GPIO functionality of IT8761E super I/O chip.
>
>
> Please add a comment to the Kconfig stanza with the reason for the
> dependancy so people don't have to be git blame masters to know why
> its there.
>
> Something like
>        depends on X86 # unconditional read of io space during module init

okay, will do.

g.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2012-01-12 15:59    [W:0.057 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site