aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJim Cromie <jim.cromie@gmail.com>2006-06-27 02:54:15 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-27 17:32:42 -0700
commit55b8c0455b8aeb80f94183fa3aa42e3fa62b1705 (patch)
treeec8f219a8518f32c1d7aef9546410f074cfb352e /arch
parent979b5ec3a7055d35b212f657e80257ec1346aa0e (diff)
downloadkernel_goldelico_gta04-55b8c0455b8aeb80f94183fa3aa42e3fa62b1705.zip
kernel_goldelico_gta04-55b8c0455b8aeb80f94183fa3aa42e3fa62b1705.tar.gz
kernel_goldelico_gta04-55b8c0455b8aeb80f94183fa3aa42e3fa62b1705.tar.bz2
[PATCH] chardev: GPIO for SCx200 & PC-8736x: device minor numbers are unsigned ints
Per kernel headers, device minor numbers are unsigned ints. Do the same in this driver. Signed-off-by: Jim Cromie <jim.cromie@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/kernel/scx200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/scx200.c b/arch/i386/kernel/scx200.c
index 4d3d8e8..18f895c 100644
--- a/arch/i386/kernel/scx200.c
+++ b/arch/i386/kernel/scx200.c
@@ -87,7 +87,7 @@ static int __devinit scx200_probe(struct pci_dev *pdev, const struct pci_device_
return 0;
}
-u32 scx200_gpio_configure(int index, u32 mask, u32 bits)
+u32 scx200_gpio_configure(unsigned index, u32 mask, u32 bits)
{
u32 config, new_config;
unsigned long flags;