diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-24 16:34:56 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-24 16:34:56 -0400 |
commit | d14b7a419a664cd7c1c585c9e7fffee9e9051d53 (patch) | |
tree | 42a1d5b61b58fa0a75252b082c4c6cef6fa9fd8d /drivers | |
parent | e8ff13b0bf88b5e696323a1eec877783d965b3c6 (diff) | |
parent | a58b3a4aba2fd5c445d9deccc73192bff48b591d (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial tree from Jiri Kosina:
"Trivial updates all over the place as usual."
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (29 commits)
Fix typo in include/linux/clk.h .
pci: hotplug: Fix typo in pci
iommu: Fix typo in iommu
video: Fix typo in drivers/video
Documentation: Add newline at end-of-file to files lacking one
arm,unicore32: Remove obsolete "select MISC_DEVICES"
module.c: spelling s/postition/position/g
cpufreq: Fix typo in cpufreq driver
trivial: typo in comment in mksysmap
mach-omap2: Fix typo in debug message and comment
scsi: aha152x: Fix sparse warning and make printing pointer address more portable.
Change email address for Steve Glendinning
Btrfs: fix typo in convert_extent_bit
via: Remove bogus if check
netprio_cgroup.c: fix comment typo
backlight: fix memory leak on obscure error path
Documentation: asus-laptop.txt references an obsolete Kconfig item
Documentation: ManagementStyle: fixed typo
mm/vmscan: cleanup comment error in balance_pgdat
mm: cleanup on the comments of zone_reclaim_stat
...
Diffstat (limited to 'drivers')
44 files changed, 67 insertions, 65 deletions
diff --git a/drivers/cpufreq/s3c2416-cpufreq.c b/drivers/cpufreq/s3c2416-cpufreq.c index 50d2f15a3c8a..bcc053bc02c4 100644 --- a/drivers/cpufreq/s3c2416-cpufreq.c +++ b/drivers/cpufreq/s3c2416-cpufreq.c | |||
@@ -153,7 +153,7 @@ static int s3c2416_cpufreq_enter_dvs(struct s3c2416_data *s3c_freq, int idx) | |||
153 | if (s3c_freq->vddarm) { | 153 | if (s3c_freq->vddarm) { |
154 | dvfs = &s3c2416_dvfs_table[idx]; | 154 | dvfs = &s3c2416_dvfs_table[idx]; |
155 | 155 | ||
156 | pr_debug("cpufreq: setting regultor to %d-%d\n", | 156 | pr_debug("cpufreq: setting regulator to %d-%d\n", |
157 | dvfs->vddarm_min, dvfs->vddarm_max); | 157 | dvfs->vddarm_min, dvfs->vddarm_max); |
158 | ret = regulator_set_voltage(s3c_freq->vddarm, | 158 | ret = regulator_set_voltage(s3c_freq->vddarm, |
159 | dvfs->vddarm_min, | 159 | dvfs->vddarm_min, |
@@ -186,7 +186,7 @@ static int s3c2416_cpufreq_leave_dvs(struct s3c2416_data *s3c_freq, int idx) | |||
186 | if (s3c_freq->vddarm) { | 186 | if (s3c_freq->vddarm) { |
187 | dvfs = &s3c2416_dvfs_table[idx]; | 187 | dvfs = &s3c2416_dvfs_table[idx]; |
188 | 188 | ||
189 | pr_debug("cpufreq: setting regultor to %d-%d\n", | 189 | pr_debug("cpufreq: setting regulator to %d-%d\n", |
190 | dvfs->vddarm_min, dvfs->vddarm_max); | 190 | dvfs->vddarm_min, dvfs->vddarm_max); |
191 | ret = regulator_set_voltage(s3c_freq->vddarm, | 191 | ret = regulator_set_voltage(s3c_freq->vddarm, |
192 | dvfs->vddarm_min, | 192 | dvfs->vddarm_min, |
diff --git a/drivers/cpufreq/speedstep-ich.c b/drivers/cpufreq/speedstep-ich.c index 7432b3a72cd4..e29b59aa68a8 100644 --- a/drivers/cpufreq/speedstep-ich.c +++ b/drivers/cpufreq/speedstep-ich.c | |||
@@ -203,7 +203,7 @@ static unsigned int speedstep_detect_chipset(void) | |||
203 | if (speedstep_chipset_dev) { | 203 | if (speedstep_chipset_dev) { |
204 | /* speedstep.c causes lockups on Dell Inspirons 8000 and | 204 | /* speedstep.c causes lockups on Dell Inspirons 8000 and |
205 | * 8100 which use a pretty old revision of the 82815 | 205 | * 8100 which use a pretty old revision of the 82815 |
206 | * host brige. Abort on these systems. | 206 | * host bridge. Abort on these systems. |
207 | */ | 207 | */ |
208 | static struct pci_dev *hostbridge; | 208 | static struct pci_dev *hostbridge; |
209 | 209 | ||
diff --git a/drivers/hwmon/emc2103.c b/drivers/hwmon/emc2103.c index e7d234b59312..7bb8e888692c 100644 --- a/drivers/hwmon/emc2103.c +++ b/drivers/hwmon/emc2103.c | |||
@@ -732,6 +732,6 @@ static struct i2c_driver emc2103_driver = { | |||
732 | 732 | ||
733 | module_i2c_driver(emc2103_driver); | 733 | module_i2c_driver(emc2103_driver); |
734 | 734 | ||
735 | MODULE_AUTHOR("Steve Glendinning <steve.glendinning@smsc.com>"); | 735 | MODULE_AUTHOR("Steve Glendinning <steve.glendinning@shawell.net>"); |
736 | MODULE_DESCRIPTION("SMSC EMC2103 hwmon driver"); | 736 | MODULE_DESCRIPTION("SMSC EMC2103 hwmon driver"); |
737 | MODULE_LICENSE("GPL"); | 737 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/input/keyboard/lm8333.c b/drivers/input/keyboard/lm8333.c index ca168a6679de..081fd9effa8c 100644 --- a/drivers/input/keyboard/lm8333.c +++ b/drivers/input/keyboard/lm8333.c | |||
@@ -91,7 +91,7 @@ static void lm8333_key_handler(struct lm8333 *lm8333) | |||
91 | return; | 91 | return; |
92 | } | 92 | } |
93 | 93 | ||
94 | for (i = 0; keys[i] && i < LM8333_FIFO_TRANSFER_SIZE; i++) { | 94 | for (i = 0; i < LM8333_FIFO_TRANSFER_SIZE && keys[i]; i++) { |
95 | pressed = keys[i] & 0x80; | 95 | pressed = keys[i] & 0x80; |
96 | code = keys[i] & 0x7f; | 96 | code = keys[i] & 0x7f; |
97 | 97 | ||
diff --git a/drivers/input/misc/cma3000_d0x.c b/drivers/input/misc/cma3000_d0x.c index a3735a01e9fd..df9b756594f8 100644 --- a/drivers/input/misc/cma3000_d0x.c +++ b/drivers/input/misc/cma3000_d0x.c | |||
@@ -58,7 +58,7 @@ | |||
58 | 58 | ||
59 | /* | 59 | /* |
60 | * Bit weights in mg for bit 0, other bits need | 60 | * Bit weights in mg for bit 0, other bits need |
61 | * multipy factor 2^n. Eight bit is the sign bit. | 61 | * multiply factor 2^n. Eight bit is the sign bit. |
62 | */ | 62 | */ |
63 | #define BIT_TO_2G 18 | 63 | #define BIT_TO_2G 18 |
64 | #define BIT_TO_8G 71 | 64 | #define BIT_TO_8G 71 |
diff --git a/drivers/iommu/amd_iommu_v2.c b/drivers/iommu/amd_iommu_v2.c index 036fe9bf157e..be03238ad815 100644 --- a/drivers/iommu/amd_iommu_v2.c +++ b/drivers/iommu/amd_iommu_v2.c | |||
@@ -924,7 +924,7 @@ static int __init amd_iommu_v2_init(void) | |||
924 | pr_info("AMD IOMMUv2 driver by Joerg Roedel <joerg.roedel@amd.com>\n"); | 924 | pr_info("AMD IOMMUv2 driver by Joerg Roedel <joerg.roedel@amd.com>\n"); |
925 | 925 | ||
926 | if (!amd_iommu_v2_supported()) { | 926 | if (!amd_iommu_v2_supported()) { |
927 | pr_info("AMD IOMMUv2 functionality not available on this sytem\n"); | 927 | pr_info("AMD IOMMUv2 functionality not available on this system\n"); |
928 | /* | 928 | /* |
929 | * Load anyway to provide the symbols to other modules | 929 | * Load anyway to provide the symbols to other modules |
930 | * which may use AMD IOMMUv2 optionally. | 930 | * which may use AMD IOMMUv2 optionally. |
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c index 9a114b9ff170..4407d5eff05e 100644 --- a/drivers/iommu/exynos-iommu.c +++ b/drivers/iommu/exynos-iommu.c | |||
@@ -317,7 +317,7 @@ static int default_fault_handler(enum exynos_sysmmu_inttype itype, | |||
317 | if ((itype >= SYSMMU_FAULTS_NUM) || (itype < SYSMMU_PAGEFAULT)) | 317 | if ((itype >= SYSMMU_FAULTS_NUM) || (itype < SYSMMU_PAGEFAULT)) |
318 | itype = SYSMMU_FAULT_UNKNOWN; | 318 | itype = SYSMMU_FAULT_UNKNOWN; |
319 | 319 | ||
320 | pr_err("%s occured at 0x%lx(Page table base: 0x%lx)\n", | 320 | pr_err("%s occurred at 0x%lx(Page table base: 0x%lx)\n", |
321 | sysmmu_fault_name[itype], fault_addr, pgtable_base); | 321 | sysmmu_fault_name[itype], fault_addr, pgtable_base); |
322 | 322 | ||
323 | ent = section_entry(__va(pgtable_base), fault_addr); | 323 | ent = section_entry(__va(pgtable_base), fault_addr); |
diff --git a/drivers/iommu/iova.c b/drivers/iommu/iova.c index c5c274ab5c5a..67da6cff74e8 100644 --- a/drivers/iommu/iova.c +++ b/drivers/iommu/iova.c | |||
@@ -198,10 +198,10 @@ iova_insert_rbtree(struct rb_root *root, struct iova *iova) | |||
198 | 198 | ||
199 | /** | 199 | /** |
200 | * alloc_iova - allocates an iova | 200 | * alloc_iova - allocates an iova |
201 | * @iovad - iova domain in question | 201 | * @iovad: - iova domain in question |
202 | * @size - size of page frames to allocate | 202 | * @size: - size of page frames to allocate |
203 | * @limit_pfn - max limit address | 203 | * @limit_pfn: - max limit address |
204 | * @size_aligned - set if size_aligned address range is required | 204 | * @size_aligned: - set if size_aligned address range is required |
205 | * This function allocates an iova in the range limit_pfn to IOVA_START_PFN | 205 | * This function allocates an iova in the range limit_pfn to IOVA_START_PFN |
206 | * looking from limit_pfn instead from IOVA_START_PFN. If the size_aligned | 206 | * looking from limit_pfn instead from IOVA_START_PFN. If the size_aligned |
207 | * flag is set then the allocated address iova->pfn_lo will be naturally | 207 | * flag is set then the allocated address iova->pfn_lo will be naturally |
@@ -238,8 +238,8 @@ alloc_iova(struct iova_domain *iovad, unsigned long size, | |||
238 | 238 | ||
239 | /** | 239 | /** |
240 | * find_iova - find's an iova for a given pfn | 240 | * find_iova - find's an iova for a given pfn |
241 | * @iovad - iova domain in question. | 241 | * @iovad: - iova domain in question. |
242 | * pfn - page frame number | 242 | * @pfn: - page frame number |
243 | * This function finds and returns an iova belonging to the | 243 | * This function finds and returns an iova belonging to the |
244 | * given doamin which matches the given pfn. | 244 | * given doamin which matches the given pfn. |
245 | */ | 245 | */ |
@@ -260,7 +260,7 @@ struct iova *find_iova(struct iova_domain *iovad, unsigned long pfn) | |||
260 | /* We are not holding the lock while this iova | 260 | /* We are not holding the lock while this iova |
261 | * is referenced by the caller as the same thread | 261 | * is referenced by the caller as the same thread |
262 | * which called this function also calls __free_iova() | 262 | * which called this function also calls __free_iova() |
263 | * and it is by desing that only one thread can possibly | 263 | * and it is by design that only one thread can possibly |
264 | * reference a particular iova and hence no conflict. | 264 | * reference a particular iova and hence no conflict. |
265 | */ | 265 | */ |
266 | return iova; | 266 | return iova; |
diff --git a/drivers/media/video/zoran/zr36016.c b/drivers/media/video/zoran/zr36016.c index 21c088ea9046..b87ddba8608f 100644 --- a/drivers/media/video/zoran/zr36016.c +++ b/drivers/media/video/zoran/zr36016.c | |||
@@ -40,10 +40,10 @@ | |||
40 | /* v4l API */ | 40 | /* v4l API */ |
41 | 41 | ||
42 | /* headerfile of this module */ | 42 | /* headerfile of this module */ |
43 | #include"zr36016.h" | 43 | #include "zr36016.h" |
44 | 44 | ||
45 | /* codec io API */ | 45 | /* codec io API */ |
46 | #include"videocodec.h" | 46 | #include "videocodec.h" |
47 | 47 | ||
48 | /* it doesn't make sense to have more than 20 or so, | 48 | /* it doesn't make sense to have more than 20 or so, |
49 | just to prevent some unwanted loops */ | 49 | just to prevent some unwanted loops */ |
diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c index c6b06d311fee..6d6192316b30 100644 --- a/drivers/net/phy/smsc.c +++ b/drivers/net/phy/smsc.c | |||
@@ -12,7 +12,7 @@ | |||
12 | * Free Software Foundation; either version 2 of the License, or (at your | 12 | * Free Software Foundation; either version 2 of the License, or (at your |
13 | * option) any later version. | 13 | * option) any later version. |
14 | * | 14 | * |
15 | * Support added for SMSC LAN8187 and LAN8700 by steve.glendinning@smsc.com | 15 | * Support added for SMSC LAN8187 and LAN8700 by steve.glendinning@shawell.net |
16 | * | 16 | * |
17 | */ | 17 | */ |
18 | 18 | ||
diff --git a/drivers/net/usb/smsc75xx.c b/drivers/net/usb/smsc75xx.c index 6c0c5b76fc41..f5ab6e613ec8 100644 --- a/drivers/net/usb/smsc75xx.c +++ b/drivers/net/usb/smsc75xx.c | |||
@@ -1260,6 +1260,6 @@ static struct usb_driver smsc75xx_driver = { | |||
1260 | module_usb_driver(smsc75xx_driver); | 1260 | module_usb_driver(smsc75xx_driver); |
1261 | 1261 | ||
1262 | MODULE_AUTHOR("Nancy Lin"); | 1262 | MODULE_AUTHOR("Nancy Lin"); |
1263 | MODULE_AUTHOR("Steve Glendinning <steve.glendinning@smsc.com>"); | 1263 | MODULE_AUTHOR("Steve Glendinning <steve.glendinning@shawell.net>"); |
1264 | MODULE_DESCRIPTION("SMSC75XX USB 2.0 Gigabit Ethernet Devices"); | 1264 | MODULE_DESCRIPTION("SMSC75XX USB 2.0 Gigabit Ethernet Devices"); |
1265 | MODULE_LICENSE("GPL"); | 1265 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/net/usb/smsc95xx.c b/drivers/net/usb/smsc95xx.c index 25cc3a15a4ea..d45e539a84b7 100644 --- a/drivers/net/usb/smsc95xx.c +++ b/drivers/net/usb/smsc95xx.c | |||
@@ -1335,6 +1335,6 @@ static struct usb_driver smsc95xx_driver = { | |||
1335 | module_usb_driver(smsc95xx_driver); | 1335 | module_usb_driver(smsc95xx_driver); |
1336 | 1336 | ||
1337 | MODULE_AUTHOR("Nancy Lin"); | 1337 | MODULE_AUTHOR("Nancy Lin"); |
1338 | MODULE_AUTHOR("Steve Glendinning <steve.glendinning@smsc.com>"); | 1338 | MODULE_AUTHOR("Steve Glendinning <steve.glendinning@shawell.net>"); |
1339 | MODULE_DESCRIPTION("SMSC95XX USB 2.0 Ethernet Devices"); | 1339 | MODULE_DESCRIPTION("SMSC95XX USB 2.0 Ethernet Devices"); |
1340 | MODULE_LICENSE("GPL"); | 1340 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/net/wireless/iwlwifi/iwl-io.c b/drivers/net/wireless/iwlwifi/iwl-io.c index 66c873399aba..3dfebfb8434f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-io.c +++ b/drivers/net/wireless/iwlwifi/iwl-io.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <linux/export.h> | 30 | #include <linux/export.h> |
31 | 31 | ||
32 | #include "iwl-io.h" | 32 | #include "iwl-io.h" |
33 | #include"iwl-csr.h" | 33 | #include "iwl-csr.h" |
34 | #include "iwl-debug.h" | 34 | #include "iwl-debug.h" |
35 | 35 | ||
36 | #define IWL_POLL_INTERVAL 10 /* microseconds */ | 36 | #define IWL_POLL_INTERVAL 10 /* microseconds */ |
diff --git a/drivers/parisc/iosapic.c b/drivers/parisc/iosapic.c index 1f9e9fefb8e7..69ff60832b09 100644 --- a/drivers/parisc/iosapic.c +++ b/drivers/parisc/iosapic.c | |||
@@ -146,7 +146,7 @@ | |||
146 | #endif | 146 | #endif |
147 | 147 | ||
148 | #include <asm/ropes.h> | 148 | #include <asm/ropes.h> |
149 | #include "./iosapic_private.h" | 149 | #include "iosapic_private.h" |
150 | 150 | ||
151 | #define MODULE_NAME "iosapic" | 151 | #define MODULE_NAME "iosapic" |
152 | 152 | ||
diff --git a/drivers/pci/hotplug/ibmphp_core.c b/drivers/pci/hotplug/ibmphp_core.c index 4fda7e6a86a7..01cc054eb0d5 100644 --- a/drivers/pci/hotplug/ibmphp_core.c +++ b/drivers/pci/hotplug/ibmphp_core.c | |||
@@ -760,7 +760,7 @@ static u8 bus_structure_fixup(u8 busno) | |||
760 | for (dev->devfn = 0; dev->devfn < 256; dev->devfn += 8) { | 760 | for (dev->devfn = 0; dev->devfn < 256; dev->devfn += 8) { |
761 | if (!pci_read_config_word(dev, PCI_VENDOR_ID, &l) && | 761 | if (!pci_read_config_word(dev, PCI_VENDOR_ID, &l) && |
762 | (l != 0x0000) && (l != 0xffff)) { | 762 | (l != 0x0000) && (l != 0xffff)) { |
763 | debug("%s - Inside bus_struture_fixup()\n", | 763 | debug("%s - Inside bus_structure_fixup()\n", |
764 | __func__); | 764 | __func__); |
765 | pci_scan_bus(busno, ibmphp_pci_bus->ops, NULL); | 765 | pci_scan_bus(busno, ibmphp_pci_bus->ops, NULL); |
766 | break; | 766 | break; |
diff --git a/drivers/pci/hotplug/ibmphp_ebda.c b/drivers/pci/hotplug/ibmphp_ebda.c index 714ca5c4ed50..9df78bc14541 100644 --- a/drivers/pci/hotplug/ibmphp_ebda.c +++ b/drivers/pci/hotplug/ibmphp_ebda.c | |||
@@ -784,7 +784,7 @@ static int __init ebda_rsrc_controller (void) | |||
784 | hpc_ptr->ctlr_relative_id = ctlr; | 784 | hpc_ptr->ctlr_relative_id = ctlr; |
785 | hpc_ptr->slot_count = slot_num; | 785 | hpc_ptr->slot_count = slot_num; |
786 | hpc_ptr->bus_count = bus_num; | 786 | hpc_ptr->bus_count = bus_num; |
787 | debug ("now enter ctlr data struture ---\n"); | 787 | debug ("now enter ctlr data structure ---\n"); |
788 | debug ("ctlr id: %x\n", ctlr_id); | 788 | debug ("ctlr id: %x\n", ctlr_id); |
789 | debug ("ctlr_relative_id: %x\n", hpc_ptr->ctlr_relative_id); | 789 | debug ("ctlr_relative_id: %x\n", hpc_ptr->ctlr_relative_id); |
790 | debug ("count of slots controlled by this ctlr: %x\n", slot_num); | 790 | debug ("count of slots controlled by this ctlr: %x\n", slot_num); |
diff --git a/drivers/pci/hotplug/ibmphp_pci.c b/drivers/pci/hotplug/ibmphp_pci.c index 7b09e16173ad..c60f5f3e838d 100644 --- a/drivers/pci/hotplug/ibmphp_pci.c +++ b/drivers/pci/hotplug/ibmphp_pci.c | |||
@@ -109,7 +109,7 @@ int ibmphp_configure_card (struct pci_func *func, u8 slotno) | |||
109 | 109 | ||
110 | cur_func->function = function; | 110 | cur_func->function = function; |
111 | 111 | ||
112 | debug ("inside the loop, cur_func->busno = %x, cur_func->device = %x, cur_func->funcion = %x\n", | 112 | debug ("inside the loop, cur_func->busno = %x, cur_func->device = %x, cur_func->function = %x\n", |
113 | cur_func->busno, cur_func->device, cur_func->function); | 113 | cur_func->busno, cur_func->device, cur_func->function); |
114 | 114 | ||
115 | pci_bus_read_config_word (ibmphp_pci_bus, devfn, PCI_VENDOR_ID, &vendor_id); | 115 | pci_bus_read_config_word (ibmphp_pci_bus, devfn, PCI_VENDOR_ID, &vendor_id); |
diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index 8fa2d4be88de..a7ba6de588a8 100644 --- a/drivers/pci/setup-bus.c +++ b/drivers/pci/setup-bus.c | |||
@@ -308,7 +308,7 @@ static void __assign_resources_sorted(struct list_head *head, | |||
308 | * Should not assign requested resources at first. | 308 | * Should not assign requested resources at first. |
309 | * they could be adjacent, so later reassign can not reallocate | 309 | * they could be adjacent, so later reassign can not reallocate |
310 | * them one by one in parent resource window. | 310 | * them one by one in parent resource window. |
311 | * Try to assign requested + add_size at begining | 311 | * Try to assign requested + add_size at beginning |
312 | * if could do that, could get out early. | 312 | * if could do that, could get out early. |
313 | * if could not do that, we still try to assign requested at first, | 313 | * if could not do that, we still try to assign requested at first, |
314 | * then try to reassign add_size for some resources. | 314 | * then try to reassign add_size for some resources. |
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index 70b4a979a6ff..aa764ecc4e60 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig | |||
@@ -301,7 +301,7 @@ config AB8500_BM | |||
301 | bool "AB8500 Battery Management Driver" | 301 | bool "AB8500 Battery Management Driver" |
302 | depends on AB8500_CORE && AB8500_GPADC | 302 | depends on AB8500_CORE && AB8500_GPADC |
303 | help | 303 | help |
304 | Say Y to include support for AB5500 battery management. | 304 | Say Y to include support for AB8500 battery management. |
305 | 305 | ||
306 | config AB8500_BATTERY_THERM_ON_BATCTRL | 306 | config AB8500_BATTERY_THERM_ON_BATCTRL |
307 | bool "Thermistor connected on BATCTRL ADC" | 307 | bool "Thermistor connected on BATCTRL ADC" |
diff --git a/drivers/scsi/aha152x.c b/drivers/scsi/aha152x.c index 19a36945e6fd..dd4547bf6881 100644 --- a/drivers/scsi/aha152x.c +++ b/drivers/scsi/aha152x.c | |||
@@ -2984,8 +2984,8 @@ static int get_command(char *pos, Scsi_Cmnd * ptr) | |||
2984 | char *start = pos; | 2984 | char *start = pos; |
2985 | int i; | 2985 | int i; |
2986 | 2986 | ||
2987 | SPRINTF("0x%08x: target=%d; lun=%d; cmnd=( ", | 2987 | SPRINTF("%p: target=%d; lun=%d; cmnd=( ", |
2988 | (unsigned int) ptr, ptr->device->id, ptr->device->lun); | 2988 | ptr, ptr->device->id, ptr->device->lun); |
2989 | 2989 | ||
2990 | for (i = 0; i < COMMAND_SIZE(ptr->cmnd[0]); i++) | 2990 | for (i = 0; i < COMMAND_SIZE(ptr->cmnd[0]); i++) |
2991 | SPRINTF("0x%02x ", ptr->cmnd[i]); | 2991 | SPRINTF("0x%02x ", ptr->cmnd[i]); |
diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c index f79c8f9e33a4..770c48ddbe5e 100644 --- a/drivers/scsi/aha1542.c +++ b/drivers/scsi/aha1542.c | |||
@@ -49,7 +49,7 @@ | |||
49 | #define SCSI_BUF_PA(address) isa_virt_to_bus(address) | 49 | #define SCSI_BUF_PA(address) isa_virt_to_bus(address) |
50 | #define SCSI_SG_PA(sgent) (isa_page_to_bus(sg_page((sgent))) + (sgent)->offset) | 50 | #define SCSI_SG_PA(sgent) (isa_page_to_bus(sg_page((sgent))) + (sgent)->offset) |
51 | 51 | ||
52 | #include<linux/stat.h> | 52 | #include <linux/stat.h> |
53 | 53 | ||
54 | #ifdef DEBUG | 54 | #ifdef DEBUG |
55 | #define DEB(x) x | 55 | #define DEB(x) x |
diff --git a/drivers/staging/comedi/drivers/s626.h b/drivers/staging/comedi/drivers/s626.h index 2d1afecbbb60..92d3ea5eb44d 100644 --- a/drivers/staging/comedi/drivers/s626.h +++ b/drivers/staging/comedi/drivers/s626.h | |||
@@ -80,7 +80,7 @@ | |||
80 | #define INLINE static __inline | 80 | #define INLINE static __inline |
81 | #endif | 81 | #endif |
82 | 82 | ||
83 | #include<linux/slab.h> | 83 | #include <linux/slab.h> |
84 | 84 | ||
85 | #define S626_SIZE 0x0200 | 85 | #define S626_SIZE 0x0200 |
86 | #define SIZEOF_ADDRESS_SPACE 0x0200 | 86 | #define SIZEOF_ADDRESS_SPACE 0x0200 |
diff --git a/drivers/usb/renesas_usbhs/common.c b/drivers/usb/renesas_usbhs/common.c index a165490bae48..8c9bb1ad3069 100644 --- a/drivers/usb/renesas_usbhs/common.c +++ b/drivers/usb/renesas_usbhs/common.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <linux/pm_runtime.h> | 19 | #include <linux/pm_runtime.h> |
20 | #include <linux/slab.h> | 20 | #include <linux/slab.h> |
21 | #include <linux/sysfs.h> | 21 | #include <linux/sysfs.h> |
22 | #include "./common.h" | 22 | #include "common.h" |
23 | 23 | ||
24 | /* | 24 | /* |
25 | * image of renesas_usbhs | 25 | * image of renesas_usbhs |
diff --git a/drivers/usb/renesas_usbhs/common.h b/drivers/usb/renesas_usbhs/common.h index 3f3ccd358753..dddf40a59ded 100644 --- a/drivers/usb/renesas_usbhs/common.h +++ b/drivers/usb/renesas_usbhs/common.h | |||
@@ -22,8 +22,8 @@ | |||
22 | 22 | ||
23 | struct usbhs_priv; | 23 | struct usbhs_priv; |
24 | 24 | ||
25 | #include "./mod.h" | 25 | #include "mod.h" |
26 | #include "./pipe.h" | 26 | #include "pipe.h" |
27 | 27 | ||
28 | /* | 28 | /* |
29 | * | 29 | * |
diff --git a/drivers/usb/renesas_usbhs/fifo.c b/drivers/usb/renesas_usbhs/fifo.c index 6ec7f838d7fa..08313574aac8 100644 --- a/drivers/usb/renesas_usbhs/fifo.c +++ b/drivers/usb/renesas_usbhs/fifo.c | |||
@@ -17,8 +17,8 @@ | |||
17 | #include <linux/delay.h> | 17 | #include <linux/delay.h> |
18 | #include <linux/io.h> | 18 | #include <linux/io.h> |
19 | #include <linux/scatterlist.h> | 19 | #include <linux/scatterlist.h> |
20 | #include "./common.h" | 20 | #include "common.h" |
21 | #include "./pipe.h" | 21 | #include "pipe.h" |
22 | 22 | ||
23 | #define usbhsf_get_cfifo(p) (&((p)->fifo_info.cfifo)) | 23 | #define usbhsf_get_cfifo(p) (&((p)->fifo_info.cfifo)) |
24 | #define usbhsf_get_d0fifo(p) (&((p)->fifo_info.d0fifo)) | 24 | #define usbhsf_get_d0fifo(p) (&((p)->fifo_info.d0fifo)) |
diff --git a/drivers/usb/renesas_usbhs/mod.c b/drivers/usb/renesas_usbhs/mod.c index 0871e816df45..82a628f96c03 100644 --- a/drivers/usb/renesas_usbhs/mod.c +++ b/drivers/usb/renesas_usbhs/mod.c | |||
@@ -16,8 +16,8 @@ | |||
16 | */ | 16 | */ |
17 | #include <linux/interrupt.h> | 17 | #include <linux/interrupt.h> |
18 | 18 | ||
19 | #include "./common.h" | 19 | #include "common.h" |
20 | #include "./mod.h" | 20 | #include "mod.h" |
21 | 21 | ||
22 | #define usbhs_priv_to_modinfo(priv) (&priv->mod_info) | 22 | #define usbhs_priv_to_modinfo(priv) (&priv->mod_info) |
23 | #define usbhs_mod_info_call(priv, func, param...) \ | 23 | #define usbhs_mod_info_call(priv, func, param...) \ |
diff --git a/drivers/usb/renesas_usbhs/mod.h b/drivers/usb/renesas_usbhs/mod.h index 6c6875533f01..1ef5bf604070 100644 --- a/drivers/usb/renesas_usbhs/mod.h +++ b/drivers/usb/renesas_usbhs/mod.h | |||
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | #include <linux/spinlock.h> | 20 | #include <linux/spinlock.h> |
21 | #include <linux/usb/renesas_usbhs.h> | 21 | #include <linux/usb/renesas_usbhs.h> |
22 | #include "./common.h" | 22 | #include "common.h" |
23 | 23 | ||
24 | /* | 24 | /* |
25 | * struct | 25 | * struct |
diff --git a/drivers/usb/renesas_usbhs/pipe.c b/drivers/usb/renesas_usbhs/pipe.c index feb06d6d2814..122526cfd32b 100644 --- a/drivers/usb/renesas_usbhs/pipe.c +++ b/drivers/usb/renesas_usbhs/pipe.c | |||
@@ -16,8 +16,8 @@ | |||
16 | */ | 16 | */ |
17 | #include <linux/delay.h> | 17 | #include <linux/delay.h> |
18 | #include <linux/slab.h> | 18 | #include <linux/slab.h> |
19 | #include "./common.h" | 19 | #include "common.h" |
20 | #include "./pipe.h" | 20 | #include "pipe.h" |
21 | 21 | ||
22 | /* | 22 | /* |
23 | * macros | 23 | * macros |
diff --git a/drivers/usb/renesas_usbhs/pipe.h b/drivers/usb/renesas_usbhs/pipe.h index fa18b7dc2b2a..08786c06dcf1 100644 --- a/drivers/usb/renesas_usbhs/pipe.h +++ b/drivers/usb/renesas_usbhs/pipe.h | |||
@@ -17,8 +17,8 @@ | |||
17 | #ifndef RENESAS_USB_PIPE_H | 17 | #ifndef RENESAS_USB_PIPE_H |
18 | #define RENESAS_USB_PIPE_H | 18 | #define RENESAS_USB_PIPE_H |
19 | 19 | ||
20 | #include "./common.h" | 20 | #include "common.h" |
21 | #include "./fifo.h" | 21 | #include "fifo.h" |
22 | 22 | ||
23 | /* | 23 | /* |
24 | * struct | 24 | * struct |
diff --git a/drivers/video/arcfb.c b/drivers/video/arcfb.c index c22e8d39a2cb..a1d58e9d3073 100644 --- a/drivers/video/arcfb.c +++ b/drivers/video/arcfb.c | |||
@@ -336,8 +336,8 @@ static void arcfb_lcd_update_horiz(struct arcfb_par *par, unsigned int left, | |||
336 | } | 336 | } |
337 | 337 | ||
338 | /* | 338 | /* |
339 | * here we start the process of spliting out the fb update into | 339 | * here we start the process of splitting out the fb update into |
340 | * individual blocks of pixels. we end up spliting into 64x64 blocks | 340 | * individual blocks of pixels. we end up splitting into 64x64 blocks |
341 | * and finally down to 64x8 pages. | 341 | * and finally down to 64x8 pages. |
342 | */ | 342 | */ |
343 | static void arcfb_lcd_update(struct arcfb_par *par, unsigned int dx, | 343 | static void arcfb_lcd_update(struct arcfb_par *par, unsigned int dx, |
diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c index d99505b16374..15055395cd95 100644 --- a/drivers/video/atmel_lcdfb.c +++ b/drivers/video/atmel_lcdfb.c | |||
@@ -939,7 +939,7 @@ static int __init atmel_lcdfb_probe(struct platform_device *pdev) | |||
939 | * up a splash image. | 939 | * up a splash image. |
940 | */ | 940 | */ |
941 | } else { | 941 | } else { |
942 | /* alocate memory buffer */ | 942 | /* allocate memory buffer */ |
943 | ret = atmel_lcdfb_alloc_video_memory(sinfo); | 943 | ret = atmel_lcdfb_alloc_video_memory(sinfo); |
944 | if (ret < 0) { | 944 | if (ret < 0) { |
945 | dev_err(dev, "cannot allocate framebuffer: %d\n", ret); | 945 | dev_err(dev, "cannot allocate framebuffer: %d\n", ret); |
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c index 622f12b62a47..3f2e8c13f1ca 100644 --- a/drivers/video/aty/atyfb_base.c +++ b/drivers/video/aty/atyfb_base.c | |||
@@ -863,7 +863,7 @@ static int aty_var_to_crtc(const struct fb_info *info, | |||
863 | 863 | ||
864 | if ((xres > 1600) || (yres > 1200)) { | 864 | if ((xres > 1600) || (yres > 1200)) { |
865 | FAIL("MACH64 chips are designed for max 1600x1200\n" | 865 | FAIL("MACH64 chips are designed for max 1600x1200\n" |
866 | "select anoter resolution."); | 866 | "select another resolution."); |
867 | } | 867 | } |
868 | h_sync_strt = h_disp + var->right_margin; | 868 | h_sync_strt = h_disp + var->right_margin; |
869 | h_sync_end = h_sync_strt + var->hsync_len; | 869 | h_sync_end = h_sync_strt + var->hsync_len; |
diff --git a/drivers/video/aty/radeon_base.c b/drivers/video/aty/radeon_base.c index ce1506b75adf..9e279ee38da8 100644 --- a/drivers/video/aty/radeon_base.c +++ b/drivers/video/aty/radeon_base.c | |||
@@ -2018,7 +2018,7 @@ static void radeon_identify_vram(struct radeonfb_info *rinfo) | |||
2018 | if ((rinfo->family == CHIP_FAMILY_RS100) || | 2018 | if ((rinfo->family == CHIP_FAMILY_RS100) || |
2019 | (rinfo->family == CHIP_FAMILY_RS200)) { | 2019 | (rinfo->family == CHIP_FAMILY_RS200)) { |
2020 | /* This is to workaround the asic bug for RMX, some versions | 2020 | /* This is to workaround the asic bug for RMX, some versions |
2021 | of BIOS dosen't have this register initialized correctly. | 2021 | of BIOS doesn't have this register initialized correctly. |
2022 | */ | 2022 | */ |
2023 | OUTREGP(CRTC_MORE_CNTL, CRTC_H_CUTOFF_ACTIVE_EN, | 2023 | OUTREGP(CRTC_MORE_CNTL, CRTC_H_CUTOFF_ACTIVE_EN, |
2024 | ~CRTC_H_CUTOFF_ACTIVE_EN); | 2024 | ~CRTC_H_CUTOFF_ACTIVE_EN); |
diff --git a/drivers/video/backlight/88pm860x_bl.c b/drivers/video/backlight/88pm860x_bl.c index f49181c73113..f75da8758adc 100644 --- a/drivers/video/backlight/88pm860x_bl.c +++ b/drivers/video/backlight/88pm860x_bl.c | |||
@@ -228,6 +228,7 @@ static int pm860x_backlight_probe(struct platform_device *pdev) | |||
228 | data->port = pdata->flags; | 228 | data->port = pdata->flags; |
229 | if (data->port < 0) { | 229 | if (data->port < 0) { |
230 | dev_err(&pdev->dev, "wrong platform data is assigned"); | 230 | dev_err(&pdev->dev, "wrong platform data is assigned"); |
231 | kfree(data); | ||
231 | return -EINVAL; | 232 | return -EINVAL; |
232 | } | 233 | } |
233 | 234 | ||
diff --git a/drivers/video/bfin_adv7393fb.c b/drivers/video/bfin_adv7393fb.c index 9bdd4b0c18c8..d0f121bd8b25 100644 --- a/drivers/video/bfin_adv7393fb.c +++ b/drivers/video/bfin_adv7393fb.c | |||
@@ -58,7 +58,7 @@ static const unsigned short ppi_pins[] = { | |||
58 | */ | 58 | */ |
59 | 59 | ||
60 | static struct bfin_adv7393_fb_par { | 60 | static struct bfin_adv7393_fb_par { |
61 | /* structure holding blackfin / adv7393 paramters when | 61 | /* structure holding blackfin / adv7393 parameters when |
62 | screen is blanked */ | 62 | screen is blanked */ |
63 | struct { | 63 | struct { |
64 | u8 Mode; /* ntsc/pal/? */ | 64 | u8 Mode; /* ntsc/pal/? */ |
diff --git a/drivers/video/cirrusfb.c b/drivers/video/cirrusfb.c index 738c8ce7d132..bc67d05cad60 100644 --- a/drivers/video/cirrusfb.c +++ b/drivers/video/cirrusfb.c | |||
@@ -1611,7 +1611,7 @@ static void init_vgachip(struct fb_info *info) | |||
1611 | /* ext. display controls: ext.adr. wrap */ | 1611 | /* ext. display controls: ext.adr. wrap */ |
1612 | vga_wcrt(cinfo->regbase, CL_CRT1B, 0x02); | 1612 | vga_wcrt(cinfo->regbase, CL_CRT1B, 0x02); |
1613 | 1613 | ||
1614 | /* Set/Reset registes: - */ | 1614 | /* Set/Reset registers: - */ |
1615 | vga_wgfx(cinfo->regbase, VGA_GFX_SR_VALUE, 0x00); | 1615 | vga_wgfx(cinfo->regbase, VGA_GFX_SR_VALUE, 0x00); |
1616 | /* Set/Reset enable: - */ | 1616 | /* Set/Reset enable: - */ |
1617 | vga_wgfx(cinfo->regbase, VGA_GFX_SR_ENABLE, 0x00); | 1617 | vga_wgfx(cinfo->regbase, VGA_GFX_SR_ENABLE, 0x00); |
diff --git a/drivers/video/exynos/exynos_dp_reg.c b/drivers/video/exynos/exynos_dp_reg.c index 6ce76d56c3a1..bcb0e3ae1e9d 100644 --- a/drivers/video/exynos/exynos_dp_reg.c +++ b/drivers/video/exynos/exynos_dp_reg.c | |||
@@ -752,7 +752,7 @@ int exynos_dp_read_bytes_from_i2c(struct exynos_dp_device *dp, | |||
752 | 752 | ||
753 | /* | 753 | /* |
754 | * If Rx sends defer, Tx sends only reads | 754 | * If Rx sends defer, Tx sends only reads |
755 | * request without sending addres | 755 | * request without sending address |
756 | */ | 756 | */ |
757 | if (!defer) | 757 | if (!defer) |
758 | retval = exynos_dp_select_i2c_device(dp, | 758 | retval = exynos_dp_select_i2c_device(dp, |
diff --git a/drivers/video/exynos/exynos_mipi_dsi.c b/drivers/video/exynos/exynos_mipi_dsi.c index 6c1f5c314a42..9908e75ae761 100644 --- a/drivers/video/exynos/exynos_mipi_dsi.c +++ b/drivers/video/exynos/exynos_mipi_dsi.c | |||
@@ -106,7 +106,7 @@ static void exynos_mipi_update_cfg(struct mipi_dsim_device *dsim) | |||
106 | 106 | ||
107 | /* | 107 | /* |
108 | * data from Display controller(FIMD) is transferred in video mode | 108 | * data from Display controller(FIMD) is transferred in video mode |
109 | * but in case of command mode, all settigs is updated to registers. | 109 | * but in case of command mode, all settings are updated to registers. |
110 | */ | 110 | */ |
111 | exynos_mipi_dsi_stand_by(dsim, 1); | 111 | exynos_mipi_dsi_stand_by(dsim, 1); |
112 | } | 112 | } |
diff --git a/drivers/video/i740fb.c b/drivers/video/i740fb.c index fe574d84ed99..ff3f8808e4e9 100644 --- a/drivers/video/i740fb.c +++ b/drivers/video/i740fb.c | |||
@@ -497,7 +497,7 @@ static int i740fb_decode_var(const struct fb_var_screeninfo *var, | |||
497 | 497 | ||
498 | mem = vxres * vyres * ((bpp + 1) / 8); | 498 | mem = vxres * vyres * ((bpp + 1) / 8); |
499 | if (mem > info->screen_size) { | 499 | if (mem > info->screen_size) { |
500 | dev_err(info->device, "not enough video memory (%d KB requested, %ld KB avaliable)\n", | 500 | dev_err(info->device, "not enough video memory (%d KB requested, %ld KB available)\n", |
501 | mem >> 10, info->screen_size >> 10); | 501 | mem >> 10, info->screen_size >> 10); |
502 | return -ENOMEM; | 502 | return -ENOMEM; |
503 | } | 503 | } |
@@ -728,7 +728,7 @@ static void vga_protect(struct i740fb_par *par) | |||
728 | i740outreg_mask(par, VGA_SEQ_I, VGA_SEQ_CLOCK_MODE, 0x20, 0x20); | 728 | i740outreg_mask(par, VGA_SEQ_I, VGA_SEQ_CLOCK_MODE, 0x20, 0x20); |
729 | 729 | ||
730 | i740inb(par, 0x3DA); | 730 | i740inb(par, 0x3DA); |
731 | i740outb(par, VGA_ATT_W, 0x00); /* enable pallete access */ | 731 | i740outb(par, VGA_ATT_W, 0x00); /* enable palette access */ |
732 | } | 732 | } |
733 | 733 | ||
734 | static void vga_unprotect(struct i740fb_par *par) | 734 | static void vga_unprotect(struct i740fb_par *par) |
@@ -737,7 +737,7 @@ static void vga_unprotect(struct i740fb_par *par) | |||
737 | i740outreg_mask(par, VGA_SEQ_I, VGA_SEQ_CLOCK_MODE, 0, 0x20); | 737 | i740outreg_mask(par, VGA_SEQ_I, VGA_SEQ_CLOCK_MODE, 0, 0x20); |
738 | 738 | ||
739 | i740inb(par, 0x3DA); | 739 | i740inb(par, 0x3DA); |
740 | i740outb(par, VGA_ATT_W, 0x20); /* disable pallete access */ | 740 | i740outb(par, VGA_ATT_W, 0x20); /* disable palette access */ |
741 | } | 741 | } |
742 | 742 | ||
743 | static int i740fb_set_par(struct fb_info *info) | 743 | static int i740fb_set_par(struct fb_info *info) |
diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c index ea7b661e7229..69bf9d07c237 100644 --- a/drivers/video/s3c-fb.c +++ b/drivers/video/s3c-fb.c | |||
@@ -189,7 +189,7 @@ struct s3c_fb_vsync { | |||
189 | 189 | ||
190 | /** | 190 | /** |
191 | * struct s3c_fb - overall hardware state of the hardware | 191 | * struct s3c_fb - overall hardware state of the hardware |
192 | * @slock: The spinlock protection for this data sturcture. | 192 | * @slock: The spinlock protection for this data sturucture. |
193 | * @dev: The device that we bound to, for printing, etc. | 193 | * @dev: The device that we bound to, for printing, etc. |
194 | * @bus_clk: The clk (hclk) feeding our interface and possibly pixclk. | 194 | * @bus_clk: The clk (hclk) feeding our interface and possibly pixclk. |
195 | * @lcd_clk: The clk (sclk) feeding pixclk. | 195 | * @lcd_clk: The clk (sclk) feeding pixclk. |
diff --git a/drivers/video/savage/savagefb_driver.c b/drivers/video/savage/savagefb_driver.c index f3d3b9ce4751..0d0f52c18fd8 100644 --- a/drivers/video/savage/savagefb_driver.c +++ b/drivers/video/savage/savagefb_driver.c | |||
@@ -662,7 +662,7 @@ static void savage_get_default_par(struct savagefb_par *par, struct savage_reg * | |||
662 | vga_out8(0x3c4, 0x18, par); | 662 | vga_out8(0x3c4, 0x18, par); |
663 | reg->SR18 = vga_in8(0x3c5, par); | 663 | reg->SR18 = vga_in8(0x3c5, par); |
664 | 664 | ||
665 | /* Save flat panel expansion regsters. */ | 665 | /* Save flat panel expansion registers. */ |
666 | if (par->chip == S3_SAVAGE_MX) { | 666 | if (par->chip == S3_SAVAGE_MX) { |
667 | int i; | 667 | int i; |
668 | 668 | ||
@@ -815,7 +815,7 @@ static void savage_set_default_par(struct savagefb_par *par, | |||
815 | vga_out8(0x3c4, 0x18, par); | 815 | vga_out8(0x3c4, 0x18, par); |
816 | vga_out8(0x3c5, reg->SR18, par); | 816 | vga_out8(0x3c5, reg->SR18, par); |
817 | 817 | ||
818 | /* Save flat panel expansion regsters. */ | 818 | /* Save flat panel expansion registers. */ |
819 | if (par->chip == S3_SAVAGE_MX) { | 819 | if (par->chip == S3_SAVAGE_MX) { |
820 | int i; | 820 | int i; |
821 | 821 | ||
@@ -1318,7 +1318,7 @@ static void savagefb_set_par_int(struct savagefb_par *par, struct savage_reg *r | |||
1318 | vga_out8(0x3c4, 0x15, par); | 1318 | vga_out8(0x3c4, 0x15, par); |
1319 | vga_out8(0x3c5, reg->SR15, par); | 1319 | vga_out8(0x3c5, reg->SR15, par); |
1320 | 1320 | ||
1321 | /* Restore flat panel expansion regsters. */ | 1321 | /* Restore flat panel expansion registers. */ |
1322 | if (par->chip == S3_SAVAGE_MX) { | 1322 | if (par->chip == S3_SAVAGE_MX) { |
1323 | int i; | 1323 | int i; |
1324 | 1324 | ||
diff --git a/drivers/video/sis/init.c b/drivers/video/sis/init.c index 66de832361cc..f082ae55c0c9 100644 --- a/drivers/video/sis/init.c +++ b/drivers/video/sis/init.c | |||
@@ -2628,7 +2628,8 @@ SiS_SetVCLKState(struct SiS_Private *SiS_Pr, unsigned short ModeNo, | |||
2628 | else if(VCLK >= 135) data = 0x02; | 2628 | else if(VCLK >= 135) data = 0x02; |
2629 | 2629 | ||
2630 | if(SiS_Pr->ChipType == SIS_540) { | 2630 | if(SiS_Pr->ChipType == SIS_540) { |
2631 | if((VCLK == 203) || (VCLK < 234)) data = 0x02; | 2631 | /* Was == 203 or < 234 which made no sense */ |
2632 | if (VCLK < 234) data = 0x02; | ||
2632 | } | 2633 | } |
2633 | 2634 | ||
2634 | if(SiS_Pr->ChipType < SIS_315H) { | 2635 | if(SiS_Pr->ChipType < SIS_315H) { |
diff --git a/drivers/video/smscufx.c b/drivers/video/smscufx.c index af3ef27ad36c..26f864289498 100644 --- a/drivers/video/smscufx.c +++ b/drivers/video/smscufx.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * smscufx.c -- Framebuffer driver for SMSC UFX USB controller | 2 | * smscufx.c -- Framebuffer driver for SMSC UFX USB controller |
3 | * | 3 | * |
4 | * Copyright (C) 2011 Steve Glendinning <steve.glendinning@smsc.com> | 4 | * Copyright (C) 2011 Steve Glendinning <steve.glendinning@shawell.net> |
5 | * Copyright (C) 2009 Roberto De Ioris <roberto@unbit.it> | 5 | * Copyright (C) 2009 Roberto De Ioris <roberto@unbit.it> |
6 | * Copyright (C) 2009 Jaya Kumar <jayakumar.lkml@gmail.com> | 6 | * Copyright (C) 2009 Jaya Kumar <jayakumar.lkml@gmail.com> |
7 | * Copyright (C) 2009 Bernie Thompson <bernie@plugable.com> | 7 | * Copyright (C) 2009 Bernie Thompson <bernie@plugable.com> |
@@ -1002,7 +1002,7 @@ static int ufx_ops_ioctl(struct fb_info *info, unsigned int cmd, | |||
1002 | /* TODO: Help propose a standard fb.h ioctl to report mmap damage */ | 1002 | /* TODO: Help propose a standard fb.h ioctl to report mmap damage */ |
1003 | if (cmd == UFX_IOCTL_REPORT_DAMAGE) { | 1003 | if (cmd == UFX_IOCTL_REPORT_DAMAGE) { |
1004 | /* If we have a damage-aware client, turn fb_defio "off" | 1004 | /* If we have a damage-aware client, turn fb_defio "off" |
1005 | * To avoid perf imact of unecessary page fault handling. | 1005 | * To avoid perf imact of unnecessary page fault handling. |
1006 | * Done by resetting the delay for this fb_info to a very | 1006 | * Done by resetting the delay for this fb_info to a very |
1007 | * long period. Pages will become writable and stay that way. | 1007 | * long period. Pages will become writable and stay that way. |
1008 | * Reset to normal value when all clients have closed this fb. | 1008 | * Reset to normal value when all clients have closed this fb. |
@@ -1466,7 +1466,7 @@ static int ufx_read_edid(struct ufx_data *dev, u8 *edid, int edid_len) | |||
1466 | /* all FF's in the first 16 bytes indicates nothing is connected */ | 1466 | /* all FF's in the first 16 bytes indicates nothing is connected */ |
1467 | for (i = 0; i < 16; i++) { | 1467 | for (i = 0; i < 16; i++) { |
1468 | if (edid[i] != 0xFF) { | 1468 | if (edid[i] != 0xFF) { |
1469 | pr_debug("edid data read succesfully"); | 1469 | pr_debug("edid data read successfully"); |
1470 | return EDID_LENGTH; | 1470 | return EDID_LENGTH; |
1471 | } | 1471 | } |
1472 | } | 1472 | } |
@@ -1972,6 +1972,6 @@ MODULE_PARM_DESC(console, "Allow fbcon to be used on this display"); | |||
1972 | module_param(fb_defio, bool, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP); | 1972 | module_param(fb_defio, bool, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP); |
1973 | MODULE_PARM_DESC(fb_defio, "Enable fb_defio mmap support"); | 1973 | MODULE_PARM_DESC(fb_defio, "Enable fb_defio mmap support"); |
1974 | 1974 | ||
1975 | MODULE_AUTHOR("Steve Glendinning <steve.glendinning@smsc.com>"); | 1975 | MODULE_AUTHOR("Steve Glendinning <steve.glendinning@shawell.net>"); |
1976 | MODULE_DESCRIPTION("SMSC UFX kernel framebuffer driver"); | 1976 | MODULE_DESCRIPTION("SMSC UFX kernel framebuffer driver"); |
1977 | MODULE_LICENSE("GPL"); | 1977 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/video/sunxvr500.c b/drivers/video/sunxvr500.c index b9c2b948d34d..eb931b8626fa 100644 --- a/drivers/video/sunxvr500.c +++ b/drivers/video/sunxvr500.c | |||
@@ -12,7 +12,7 @@ | |||
12 | 12 | ||
13 | #include <asm/io.h> | 13 | #include <asm/io.h> |
14 | 14 | ||
15 | /* XXX This device has a 'dev-comm' property which aparently is | 15 | /* XXX This device has a 'dev-comm' property which apparently is |
16 | * XXX a pointer into the openfirmware's address space which is | 16 | * XXX a pointer into the openfirmware's address space which is |
17 | * XXX a shared area the kernel driver can use to keep OBP | 17 | * XXX a shared area the kernel driver can use to keep OBP |
18 | * XXX informed about the current resolution setting. The idea | 18 | * XXX informed about the current resolution setting. The idea |