Re: [PATCH] gpiolib: Allow user-selection

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Wednesday, July 2, 2008 - 5:04 pm

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


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.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] gpiolib: Allow user-selection, Michael Buesch, (Wed Jul 2, 2:46 pm)
Re: [PATCH] gpiolib: Allow user-selection, Andrew Morton, (Wed Jul 2, 5:04 pm)
Re: [PATCH] gpiolib: Allow user-selection, Michael Buesch, (Wed Jul 2, 5:26 pm)
Re: [PATCH] gpiolib: Allow user-selection, David Brownell, (Wed Jul 2, 10:00 pm)
Re: [PATCH] gpiolib: Allow user-selection, Andrew Morton, (Wed Jul 2, 10:08 pm)
Re: [PATCH] gpiolib: Allow user-selection, David Brownell, (Wed Jul 2, 10:41 pm)
Re: [PATCH] gpiolib: Allow user-selection, David Brownell, (Thu Jul 3, 1:25 am)
Re: [PATCH] gpiolib: Allow user-selection, Rene Herman, (Thu Jul 3, 1:36 am)
Re: [PATCH] gpiolib: Allow user-selection, Michael Buesch, (Thu Jul 3, 1:42 am)
Re: [PATCH] gpiolib: Allow user-selection, Andrew Morton, (Thu Jul 3, 2:01 am)
Re: [PATCH] gpiolib: Allow user-selection, Rene Herman, (Thu Jul 3, 3:19 am)
Re: [PATCH] gpiolib: Allow user-selection, Greg KH, (Thu Jul 3, 12:37 pm)
Re: [PATCH] gpiolib: Allow user-selection, David Brownell, (Thu Jul 3, 2:28 pm)
Re: [PATCH] gpiolib: Allow user-selection, Greg KH, (Thu Jul 3, 4:08 pm)
Re: [PATCH] gpiolib: Allow user-selection, David Brownell, (Fri Jul 11, 10:32 pm)