projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
874e520
)
serial: 8250_pci: remove one useless explicit type conversion
author
Heikki Krogerus
<
[email protected]
>
Mon, 12 Jan 2015 11:47:46 +0000
(13:47 +0200)
committer
Greg Kroah-Hartman
<
[email protected]
>
Mon, 2 Feb 2015 18:11:25 +0000
(10:11 -0800)
Signed-off-by: Heikki Krogerus <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/tty/serial/8250/8250_pci.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/8250/8250_pci.c
b/drivers/tty/serial/8250/8250_pci.c
index d1f8dc6aabcbe5bca9b6b6bbfc14e6f3f75e60c5..daf2c82984e95d94d806b175bc59944ac1cd9713 100644
(file)
--- a/
drivers/tty/serial/8250/8250_pci.c
+++ b/
drivers/tty/serial/8250/8250_pci.c
@@
-221,13
+221,13
@@
pci_hp_diva_setup(struct serial_private *priv,
*/
static int pci_inteli960ni_init(struct pci_dev *dev)
{
- u
nsigned long
oldval;
+ u
32
oldval;
if (!(dev->subsystem_device & 0x1000))
return -ENODEV;
/* is firmware started? */
- pci_read_config_dword(dev, 0x44,
(void *)
&oldval);
+ pci_read_config_dword(dev, 0x44, &oldval);
if (oldval == 0x00001000L) { /* RESET value */
dev_dbg(&dev->dev, "Local i960 firmware missing\n");
return -ENODEV;