Re: [PATCH] Staging: dream: generic_gpio: Use linux instead of asm uaccess.h

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

 



On Mon 2010-03-15 00:05:55, Chihau Chau wrote:
> From: Chihau Chau <chihau@xxxxxxxxx>
> 
> This is moving toward using <linux/uaccess.h> instead of the old
> <asm/uaccess.h> file.

Changelog does not match the patch.

...plus, was the patch actually tested?
									Pavel

> --- a/drivers/staging/dream/generic_gpio.c
> +++ b/drivers/staging/dream/generic_gpio.c
> @@ -18,7 +18,7 @@
>  #include <linux/errno.h>
>  #include <linux/slab.h>
>  #include <linux/spinlock.h>
> -#include <asm/gpio.h>
> +#include <linux/gpio.h>
>  #include "gpio_chip.h"
>  
>  #define GPIO_NUM_TO_CHIP_INDEX(gpio) ((gpio)>>5)

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux