diff options
author | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-03-21 14:05:45 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-03-21 14:05:45 -0500 |
commit | d04cdb64212eb5ae6a98026a97dda626e40e8e9a (patch) | |
tree | b6a7dbb21ccfceb915844e9a330b3d3dfcaf3c5b /drivers/char | |
parent | 2f8600dff2b140096a7df781884e918a16aa90e0 (diff) | |
parent | ec1248e70edc5cf7b485efcc7b41e44e10f422e5 (diff) |
Merge ../linux-2.6
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/Makefile | 2 | ||||
-rw-r--r-- | drivers/char/drm/Kconfig | 4 | ||||
-rw-r--r-- | drivers/char/ip2/Makefile | 8 | ||||
-rw-r--r-- | drivers/char/ip2/ip2base.c (renamed from drivers/char/ip2.c) | 6 | ||||
-rw-r--r-- | drivers/char/ip2/ip2main.c (renamed from drivers/char/ip2main.c) | 20 | ||||
-rw-r--r-- | drivers/char/s3c2410-rtc.c | 4 | ||||
-rw-r--r-- | drivers/char/watchdog/mpcore_wdt.c | 4 |
7 files changed, 30 insertions, 18 deletions
diff --git a/drivers/char/Makefile b/drivers/char/Makefile index 503dd901d406..090d154098bb 100644 --- a/drivers/char/Makefile +++ b/drivers/char/Makefile | |||
@@ -31,7 +31,7 @@ obj-$(CONFIG_MOXA_INTELLIO) += moxa.o | |||
31 | obj-$(CONFIG_A2232) += ser_a2232.o generic_serial.o | 31 | obj-$(CONFIG_A2232) += ser_a2232.o generic_serial.o |
32 | obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o | 32 | obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o |
33 | obj-$(CONFIG_MOXA_SMARTIO) += mxser.o | 33 | obj-$(CONFIG_MOXA_SMARTIO) += mxser.o |
34 | obj-$(CONFIG_COMPUTONE) += ip2.o ip2main.o | 34 | obj-$(CONFIG_COMPUTONE) += ip2/ |
35 | obj-$(CONFIG_RISCOM8) += riscom8.o | 35 | obj-$(CONFIG_RISCOM8) += riscom8.o |
36 | obj-$(CONFIG_ISI) += isicom.o | 36 | obj-$(CONFIG_ISI) += isicom.o |
37 | obj-$(CONFIG_SYNCLINK) += synclink.o | 37 | obj-$(CONFIG_SYNCLINK) += synclink.o |
diff --git a/drivers/char/drm/Kconfig b/drivers/char/drm/Kconfig index 56ace9d5e2ae..5278c388d3e7 100644 --- a/drivers/char/drm/Kconfig +++ b/drivers/char/drm/Kconfig | |||
@@ -37,8 +37,8 @@ config DRM_RADEON | |||
37 | help | 37 | help |
38 | Choose this option if you have an ATI Radeon graphics card. There | 38 | Choose this option if you have an ATI Radeon graphics card. There |
39 | are both PCI and AGP versions. You don't need to choose this to | 39 | are both PCI and AGP versions. You don't need to choose this to |
40 | run the Radeon in plain VGA mode. There is a product page at | 40 | run the Radeon in plain VGA mode. |
41 | <http://www.ati.com/na/pages/products/pc/radeon32/index.html>. | 41 | |
42 | If M is selected, the module will be called radeon. | 42 | If M is selected, the module will be called radeon. |
43 | 43 | ||
44 | config DRM_I810 | 44 | config DRM_I810 |
diff --git a/drivers/char/ip2/Makefile b/drivers/char/ip2/Makefile new file mode 100644 index 000000000000..6bfe2543ddc2 --- /dev/null +++ b/drivers/char/ip2/Makefile | |||
@@ -0,0 +1,8 @@ | |||
1 | # | ||
2 | # Makefile for the Computone IntelliPort Plus Driver | ||
3 | # | ||
4 | |||
5 | obj-$(CONFIG_COMPUTONE) += ip2.o ip2main.o | ||
6 | |||
7 | ip2-objs := ip2base.o | ||
8 | |||
diff --git a/drivers/char/ip2.c b/drivers/char/ip2/ip2base.c index 7cadfc6ef352..435ccfc74958 100644 --- a/drivers/char/ip2.c +++ b/drivers/char/ip2/ip2base.c | |||
@@ -20,14 +20,14 @@ | |||
20 | #define __initdata | 20 | #define __initdata |
21 | #endif | 21 | #endif |
22 | 22 | ||
23 | #include "./ip2/ip2types.h" | 23 | #include "ip2types.h" |
24 | #include "./ip2/fip_firm.h" // the meat | 24 | #include "fip_firm.h" // the meat |
25 | 25 | ||
26 | int | 26 | int |
27 | ip2_loadmain(int *, int *, unsigned char *, int ); // ref into ip2main.c | 27 | ip2_loadmain(int *, int *, unsigned char *, int ); // ref into ip2main.c |
28 | 28 | ||
29 | /* Note: Add compiled in defaults to these arrays, not to the structure | 29 | /* Note: Add compiled in defaults to these arrays, not to the structure |
30 | in ip2/ip2.h any longer. That structure WILL get overridden | 30 | in ip2.h any longer. That structure WILL get overridden |
31 | by these values, or command line values, or insmod values!!! =mhw= | 31 | by these values, or command line values, or insmod values!!! =mhw= |
32 | */ | 32 | */ |
33 | static int io[IP2_MAX_BOARDS]= { 0, 0, 0, 0 }; | 33 | static int io[IP2_MAX_BOARDS]= { 0, 0, 0, 0 }; |
diff --git a/drivers/char/ip2main.c b/drivers/char/ip2/ip2main.c index 48fcfba37bfa..03db1cb3fa95 100644 --- a/drivers/char/ip2main.c +++ b/drivers/char/ip2/ip2main.c | |||
@@ -35,7 +35,7 @@ | |||
35 | // Clean up potential NULL pointer dereferences | 35 | // Clean up potential NULL pointer dereferences |
36 | // Clean up devfs registration | 36 | // Clean up devfs registration |
37 | // Add kernel command line parsing for io and irq | 37 | // Add kernel command line parsing for io and irq |
38 | // Compile defaults for io and irq are now set in ip2.c not ip2/ip2.h! | 38 | // Compile defaults for io and irq are now set in ip2.c not ip2.h! |
39 | // Reworked poll_only hack for explicit parameter setting | 39 | // Reworked poll_only hack for explicit parameter setting |
40 | // You must now EXPLICITLY set poll_only = 1 or set all irqs to 0 | 40 | // You must now EXPLICITLY set poll_only = 1 or set all irqs to 0 |
41 | // Merged ip2_loadmain and old_ip2_init | 41 | // Merged ip2_loadmain and old_ip2_init |
@@ -123,12 +123,12 @@ | |||
123 | 123 | ||
124 | #include <asm/uaccess.h> | 124 | #include <asm/uaccess.h> |
125 | 125 | ||
126 | #include "./ip2/ip2types.h" | 126 | #include "ip2types.h" |
127 | #include "./ip2/ip2trace.h" | 127 | #include "ip2trace.h" |
128 | #include "./ip2/ip2ioctl.h" | 128 | #include "ip2ioctl.h" |
129 | #include "./ip2/ip2.h" | 129 | #include "ip2.h" |
130 | #include "./ip2/i2ellis.h" | 130 | #include "i2ellis.h" |
131 | #include "./ip2/i2lib.h" | 131 | #include "i2lib.h" |
132 | 132 | ||
133 | /***************** | 133 | /***************** |
134 | * /proc/ip2mem * | 134 | * /proc/ip2mem * |
@@ -282,9 +282,9 @@ static int tracewrap; | |||
282 | /* Code */ | 282 | /* Code */ |
283 | /********/ | 283 | /********/ |
284 | 284 | ||
285 | #include "./ip2/i2ellis.c" /* Extremely low-level interface services */ | 285 | #include "i2ellis.c" /* Extremely low-level interface services */ |
286 | #include "./ip2/i2cmd.c" /* Standard loadware command definitions */ | 286 | #include "i2cmd.c" /* Standard loadware command definitions */ |
287 | #include "./ip2/i2lib.c" /* High level interface services */ | 287 | #include "i2lib.c" /* High level interface services */ |
288 | 288 | ||
289 | /* Configuration area for modprobe */ | 289 | /* Configuration area for modprobe */ |
290 | 290 | ||
diff --git a/drivers/char/s3c2410-rtc.c b/drivers/char/s3c2410-rtc.c index 2e308657f6f6..b0038b19b505 100644 --- a/drivers/char/s3c2410-rtc.c +++ b/drivers/char/s3c2410-rtc.c | |||
@@ -448,13 +448,13 @@ static int s3c2410_rtc_probe(struct platform_device *pdev) | |||
448 | /* find the IRQs */ | 448 | /* find the IRQs */ |
449 | 449 | ||
450 | s3c2410_rtc_tickno = platform_get_irq(pdev, 1); | 450 | s3c2410_rtc_tickno = platform_get_irq(pdev, 1); |
451 | if (s3c2410_rtc_tickno <= 0) { | 451 | if (s3c2410_rtc_tickno < 0) { |
452 | dev_err(&pdev->dev, "no irq for rtc tick\n"); | 452 | dev_err(&pdev->dev, "no irq for rtc tick\n"); |
453 | return -ENOENT; | 453 | return -ENOENT; |
454 | } | 454 | } |
455 | 455 | ||
456 | s3c2410_rtc_alarmno = platform_get_irq(pdev, 0); | 456 | s3c2410_rtc_alarmno = platform_get_irq(pdev, 0); |
457 | if (s3c2410_rtc_alarmno <= 0) { | 457 | if (s3c2410_rtc_alarmno < 0) { |
458 | dev_err(&pdev->dev, "no irq for alarm\n"); | 458 | dev_err(&pdev->dev, "no irq for alarm\n"); |
459 | return -ENOENT; | 459 | return -ENOENT; |
460 | } | 460 | } |
diff --git a/drivers/char/watchdog/mpcore_wdt.c b/drivers/char/watchdog/mpcore_wdt.c index b4d843489881..2c2c51773200 100644 --- a/drivers/char/watchdog/mpcore_wdt.c +++ b/drivers/char/watchdog/mpcore_wdt.c | |||
@@ -338,6 +338,10 @@ static int __devinit mpcore_wdt_probe(struct platform_device *dev) | |||
338 | 338 | ||
339 | wdt->dev = &dev->dev; | 339 | wdt->dev = &dev->dev; |
340 | wdt->irq = platform_get_irq(dev, 0); | 340 | wdt->irq = platform_get_irq(dev, 0); |
341 | if (wdt->irq < 0) { | ||
342 | ret = -ENXIO; | ||
343 | goto err_free; | ||
344 | } | ||
341 | wdt->base = ioremap(res->start, res->end - res->start + 1); | 345 | wdt->base = ioremap(res->start, res->end - res->start + 1); |
342 | if (!wdt->base) { | 346 | if (!wdt->base) { |
343 | ret = -ENOMEM; | 347 | ret = -ENOMEM; |