User: Password:
|
|
Subscribe / Log in / New account

Re: [PATCH] gpiolib: Allow user-selection

From:  Andrew Morton <akpm-AT-linux-foundation.org>
To:  Michael Buesch <mb-AT-bu3sch.de>
Subject:  Re: [PATCH] gpiolib: Allow user-selection
Date:  Wed, 2 Jul 2008 17:04:31 -0700
Message-ID:  <20080702170431.56d4c929.akpm@linux-foundation.org>
Cc:  sfr-AT-canb.auug.org.au, linux-kernel-AT-vger.kernel.org, david-b-AT-pacbell.net
Archive-link:  Article

On Wed, 2 Jul 2008 23:46:53 +0200
Michael Buesch <mb@bu3sch.de> wrote:

> This patch adds functionality to the gpio-lib subsystem to
> make it possible to enable the gpio-lib code even if the
> architecture code didn't request to get it built in.

drivers/gpio/gpiolib.c: In function 'gpio_export':
drivers/gpio/gpiolib.c:432: error: 'struct class' has no member named 'devices'
drivers/gpio/gpiolib.c:456: error: implicit declaration of function 'device_create'
drivers/gpio/gpiolib.c:457: warning: assignment makes pointer from integer without a cast
drivers/gpio/gpiolib.c: In function 'gpio_unexport':
drivers/gpio/gpiolib.c:509: warning: passing argument 2 of 'class_find_device' from incompatible
pointer type
drivers/gpio/gpiolib.c:509: error: too few arguments to function 'class_find_device'
drivers/gpio/gpiolib.c: In function 'gpiochip_export':
drivers/gpio/gpiolib.c:536: error: 'struct class' has no member named 'devices'
drivers/gpio/gpiolib.c:542: warning: assignment makes pointer from integer without a cast
drivers/gpio/gpiolib.c: In function 'gpiochip_unexport':
drivers/gpio/gpiolib.c:575: warning: passing argument 2 of 'class_find_device' from incompatible
pointer type
drivers/gpio/gpiolib.c:575: error: too few arguments to function 'class_find_device'

I assume this patch was prepared against some ancient out-of-date
kernel such as current Linus mainline.

Guys, we have a new development tree now.


(Log in to post comments)


Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds