diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/Kconfig | 4 | ||||
-rw-r--r-- | drivers/scsi/aic7xxx/aic79xx_osm.h | 1 | ||||
-rw-r--r-- | drivers/scsi/aic7xxx/aic7xxx_osm.h | 1 | ||||
-rw-r--r-- | drivers/scsi/dpt_i2o.c | 1 | ||||
-rw-r--r-- | drivers/scsi/esp_scsi.c | 2 | ||||
-rw-r--r-- | drivers/scsi/ibmvscsi/ibmvstgt.c | 8 | ||||
-rw-r--r-- | drivers/scsi/ibmvscsi/rpa_vscsi.c | 4 | ||||
-rw-r--r-- | drivers/scsi/mac53c94.c | 2 | ||||
-rw-r--r-- | drivers/scsi/mesh.c | 2 | ||||
-rw-r--r-- | drivers/scsi/scsi_debug.c | 1 | ||||
-rw-r--r-- | drivers/scsi/sg.c | 1 | ||||
-rw-r--r-- | drivers/scsi/sni_53c710.c | 2 | ||||
-rw-r--r-- | drivers/scsi/sun_esp.c | 1 |
13 files changed, 13 insertions, 17 deletions
diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index 58c811d20eb2..e62d23f65180 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig | |||
@@ -170,7 +170,7 @@ config CHR_DEV_SCH | |||
170 | 170 | ||
171 | If you want to compile this as a module ( = code which can be | 171 | If you want to compile this as a module ( = code which can be |
172 | inserted in and removed from the running kernel whenever you want), | 172 | inserted in and removed from the running kernel whenever you want), |
173 | say M here and read <file:Documentation/modules.txt> and | 173 | say M here and read <file:Documentation/kbuild/modules.txt> and |
174 | <file:Documentation/scsi.txt>. The module will be called ch.o. | 174 | <file:Documentation/scsi.txt>. The module will be called ch.o. |
175 | If unsure, say N. | 175 | If unsure, say N. |
176 | 176 | ||
@@ -1783,7 +1783,7 @@ config ZFCP | |||
1783 | 1783 | ||
1784 | This driver is also available as a module. This module will be | 1784 | This driver is also available as a module. This module will be |
1785 | called zfcp. If you want to compile it as a module, say M here | 1785 | called zfcp. If you want to compile it as a module, say M here |
1786 | and read <file:Documentation/modules.txt>. | 1786 | and read <file:Documentation/kbuild/modules.txt>. |
1787 | 1787 | ||
1788 | config SCSI_SRP | 1788 | config SCSI_SRP |
1789 | tristate "SCSI RDMA Protocol helper library" | 1789 | tristate "SCSI RDMA Protocol helper library" |
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.h b/drivers/scsi/aic7xxx/aic79xx_osm.h index 9218f29314fa..ad9761b237dc 100644 --- a/drivers/scsi/aic7xxx/aic79xx_osm.h +++ b/drivers/scsi/aic7xxx/aic79xx_osm.h | |||
@@ -47,7 +47,6 @@ | |||
47 | #include <linux/delay.h> | 47 | #include <linux/delay.h> |
48 | #include <linux/ioport.h> | 48 | #include <linux/ioport.h> |
49 | #include <linux/pci.h> | 49 | #include <linux/pci.h> |
50 | #include <linux/smp_lock.h> | ||
51 | #include <linux/interrupt.h> | 50 | #include <linux/interrupt.h> |
52 | #include <linux/module.h> | 51 | #include <linux/module.h> |
53 | #include <linux/slab.h> | 52 | #include <linux/slab.h> |
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.h b/drivers/scsi/aic7xxx/aic7xxx_osm.h index 85ae5d836fa4..8fee7edc6eb3 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_osm.h +++ b/drivers/scsi/aic7xxx/aic7xxx_osm.h | |||
@@ -64,7 +64,6 @@ | |||
64 | #include <linux/delay.h> | 64 | #include <linux/delay.h> |
65 | #include <linux/ioport.h> | 65 | #include <linux/ioport.h> |
66 | #include <linux/pci.h> | 66 | #include <linux/pci.h> |
67 | #include <linux/smp_lock.h> | ||
68 | #include <linux/interrupt.h> | 67 | #include <linux/interrupt.h> |
69 | #include <linux/module.h> | 68 | #include <linux/module.h> |
70 | #include <linux/slab.h> | 69 | #include <linux/slab.h> |
diff --git a/drivers/scsi/dpt_i2o.c b/drivers/scsi/dpt_i2o.c index 6c384ab2884a..8c7d2bbf9b1a 100644 --- a/drivers/scsi/dpt_i2o.c +++ b/drivers/scsi/dpt_i2o.c | |||
@@ -55,7 +55,6 @@ MODULE_DESCRIPTION("Adaptec I2O RAID Driver"); | |||
55 | #include <linux/sched.h> | 55 | #include <linux/sched.h> |
56 | #include <linux/reboot.h> | 56 | #include <linux/reboot.h> |
57 | #include <linux/spinlock.h> | 57 | #include <linux/spinlock.h> |
58 | #include <linux/smp_lock.h> | ||
59 | #include <linux/dma-mapping.h> | 58 | #include <linux/dma-mapping.h> |
60 | 59 | ||
61 | #include <linux/timer.h> | 60 | #include <linux/timer.h> |
diff --git a/drivers/scsi/esp_scsi.c b/drivers/scsi/esp_scsi.c index 99ce03331b64..ec71061aef61 100644 --- a/drivers/scsi/esp_scsi.c +++ b/drivers/scsi/esp_scsi.c | |||
@@ -2212,7 +2212,7 @@ static void __devinit esp_init_swstate(struct esp *esp) | |||
2212 | } | 2212 | } |
2213 | 2213 | ||
2214 | /* This places the ESP into a known state at boot time. */ | 2214 | /* This places the ESP into a known state at boot time. */ |
2215 | static void __devinit esp_bootup_reset(struct esp *esp) | 2215 | static void esp_bootup_reset(struct esp *esp) |
2216 | { | 2216 | { |
2217 | u8 val; | 2217 | u8 val; |
2218 | 2218 | ||
diff --git a/drivers/scsi/ibmvscsi/ibmvstgt.c b/drivers/scsi/ibmvscsi/ibmvstgt.c index 6d223dd76440..8ba7dd09d01d 100644 --- a/drivers/scsi/ibmvscsi/ibmvstgt.c +++ b/drivers/scsi/ibmvscsi/ibmvstgt.c | |||
@@ -892,16 +892,16 @@ static int get_system_info(void) | |||
892 | if (!rootdn) | 892 | if (!rootdn) |
893 | return -ENOENT; | 893 | return -ENOENT; |
894 | 894 | ||
895 | model = get_property(rootdn, "model", NULL); | 895 | model = of_get_property(rootdn, "model", NULL); |
896 | id = get_property(rootdn, "system-id", NULL); | 896 | id = of_get_property(rootdn, "system-id", NULL); |
897 | if (model && id) | 897 | if (model && id) |
898 | snprintf(system_id, sizeof(system_id), "%s-%s", model, id); | 898 | snprintf(system_id, sizeof(system_id), "%s-%s", model, id); |
899 | 899 | ||
900 | name = get_property(rootdn, "ibm,partition-name", NULL); | 900 | name = of_get_property(rootdn, "ibm,partition-name", NULL); |
901 | if (name) | 901 | if (name) |
902 | strncpy(partition_name, name, sizeof(partition_name)); | 902 | strncpy(partition_name, name, sizeof(partition_name)); |
903 | 903 | ||
904 | num = get_property(rootdn, "ibm,partition-no", NULL); | 904 | num = of_get_property(rootdn, "ibm,partition-no", NULL); |
905 | if (num) | 905 | if (num) |
906 | partition_number = *num; | 906 | partition_number = *num; |
907 | 907 | ||
diff --git a/drivers/scsi/ibmvscsi/rpa_vscsi.c b/drivers/scsi/ibmvscsi/rpa_vscsi.c index 0a533f398f52..d8700aaa6114 100644 --- a/drivers/scsi/ibmvscsi/rpa_vscsi.c +++ b/drivers/scsi/ibmvscsi/rpa_vscsi.c | |||
@@ -162,11 +162,11 @@ static void gather_partition_info(void) | |||
162 | return; | 162 | return; |
163 | } | 163 | } |
164 | 164 | ||
165 | ppartition_name = get_property(rootdn, "ibm,partition-name", NULL); | 165 | ppartition_name = of_get_property(rootdn, "ibm,partition-name", NULL); |
166 | if (ppartition_name) | 166 | if (ppartition_name) |
167 | strncpy(partition_name, ppartition_name, | 167 | strncpy(partition_name, ppartition_name, |
168 | sizeof(partition_name)); | 168 | sizeof(partition_name)); |
169 | p_number_ptr = get_property(rootdn, "ibm,partition-no", NULL); | 169 | p_number_ptr = of_get_property(rootdn, "ibm,partition-no", NULL); |
170 | if (p_number_ptr) | 170 | if (p_number_ptr) |
171 | partition_number = *p_number_ptr; | 171 | partition_number = *p_number_ptr; |
172 | of_node_put(rootdn); | 172 | of_node_put(rootdn); |
diff --git a/drivers/scsi/mac53c94.c b/drivers/scsi/mac53c94.c index 753d88306cd1..5806ede120a4 100644 --- a/drivers/scsi/mac53c94.c +++ b/drivers/scsi/mac53c94.c | |||
@@ -471,7 +471,7 @@ static int mac53c94_probe(struct macio_dev *mdev, const struct of_device_id *mat | |||
471 | goto out_free; | 471 | goto out_free; |
472 | } | 472 | } |
473 | 473 | ||
474 | clkprop = get_property(node, "clock-frequency", &proplen); | 474 | clkprop = of_get_property(node, "clock-frequency", &proplen); |
475 | if (clkprop == NULL || proplen != sizeof(int)) { | 475 | if (clkprop == NULL || proplen != sizeof(int)) { |
476 | printk(KERN_ERR "%s: can't get clock frequency, " | 476 | printk(KERN_ERR "%s: can't get clock frequency, " |
477 | "assuming 25MHz\n", node->full_name); | 477 | "assuming 25MHz\n", node->full_name); |
diff --git a/drivers/scsi/mesh.c b/drivers/scsi/mesh.c index 6f50a5b3e4ce..e64d1a19d8d7 100644 --- a/drivers/scsi/mesh.c +++ b/drivers/scsi/mesh.c | |||
@@ -1947,7 +1947,7 @@ static int mesh_probe(struct macio_dev *mdev, const struct of_device_id *match) | |||
1947 | ms->tgts[tgt].current_req = NULL; | 1947 | ms->tgts[tgt].current_req = NULL; |
1948 | } | 1948 | } |
1949 | 1949 | ||
1950 | if ((cfp = get_property(mesh, "clock-frequency", NULL))) | 1950 | if ((cfp = of_get_property(mesh, "clock-frequency", NULL))) |
1951 | ms->clk_freq = *cfp; | 1951 | ms->clk_freq = *cfp; |
1952 | else { | 1952 | else { |
1953 | printk(KERN_INFO "mesh: assuming 50MHz clock frequency\n"); | 1953 | printk(KERN_INFO "mesh: assuming 50MHz clock frequency\n"); |
diff --git a/drivers/scsi/scsi_debug.c b/drivers/scsi/scsi_debug.c index 3e2930b7ee23..06229f225ee9 100644 --- a/drivers/scsi/scsi_debug.c +++ b/drivers/scsi/scsi_debug.c | |||
@@ -36,7 +36,6 @@ | |||
36 | #include <linux/fs.h> | 36 | #include <linux/fs.h> |
37 | #include <linux/init.h> | 37 | #include <linux/init.h> |
38 | #include <linux/proc_fs.h> | 38 | #include <linux/proc_fs.h> |
39 | #include <linux/smp_lock.h> | ||
40 | #include <linux/vmalloc.h> | 39 | #include <linux/vmalloc.h> |
41 | #include <linux/moduleparam.h> | 40 | #include <linux/moduleparam.h> |
42 | 41 | ||
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c index 570977cf9efb..0c691a60a756 100644 --- a/drivers/scsi/sg.c +++ b/drivers/scsi/sg.c | |||
@@ -41,7 +41,6 @@ static int sg_version_num = 30534; /* 2 digits for each component */ | |||
41 | #include <linux/fcntl.h> | 41 | #include <linux/fcntl.h> |
42 | #include <linux/init.h> | 42 | #include <linux/init.h> |
43 | #include <linux/poll.h> | 43 | #include <linux/poll.h> |
44 | #include <linux/smp_lock.h> | ||
45 | #include <linux/moduleparam.h> | 44 | #include <linux/moduleparam.h> |
46 | #include <linux/cdev.h> | 45 | #include <linux/cdev.h> |
47 | #include <linux/seq_file.h> | 46 | #include <linux/seq_file.h> |
diff --git a/drivers/scsi/sni_53c710.c b/drivers/scsi/sni_53c710.c index 6bc505115841..a7dfb65fb842 100644 --- a/drivers/scsi/sni_53c710.c +++ b/drivers/scsi/sni_53c710.c | |||
@@ -98,7 +98,7 @@ static int __init snirm710_probe(struct platform_device *dev) | |||
98 | host->this_id = 7; | 98 | host->this_id = 7; |
99 | host->base = base; | 99 | host->base = base; |
100 | host->irq = platform_get_irq(dev, 0); | 100 | host->irq = platform_get_irq(dev, 0); |
101 | if(request_irq(host->irq, NCR_700_intr, SA_SHIRQ, "snirm710", host)) { | 101 | if(request_irq(host->irq, NCR_700_intr, IRQF_SHARED, "snirm710", host)) { |
102 | printk(KERN_ERR "snirm710: request_irq failed!\n"); | 102 | printk(KERN_ERR "snirm710: request_irq failed!\n"); |
103 | goto out_put_host; | 103 | goto out_put_host; |
104 | } | 104 | } |
diff --git a/drivers/scsi/sun_esp.c b/drivers/scsi/sun_esp.c index 8c766bcd1095..bbeb2451d32f 100644 --- a/drivers/scsi/sun_esp.c +++ b/drivers/scsi/sun_esp.c | |||
@@ -5,6 +5,7 @@ | |||
5 | 5 | ||
6 | #include <linux/kernel.h> | 6 | #include <linux/kernel.h> |
7 | #include <linux/types.h> | 7 | #include <linux/types.h> |
8 | #include <linux/delay.h> | ||
8 | #include <linux/module.h> | 9 | #include <linux/module.h> |
9 | #include <linux/init.h> | 10 | #include <linux/init.h> |
10 | 11 | ||