[IA64] eliminate compile time warnings
authorSatoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Thu, 20 Apr 2006 09:49:48 +0000 (18:49 +0900)
committerTony Luck <tony.luck@intel.com>
Fri, 21 Apr 2006 00:06:54 +0000 (17:06 -0700)
commita72391e42f0a13116995045b3d492d660f96697d
treeabfedbdf78e1ac5d0d876619993ccf8b0c878b9b
parentee6d4b6ef8df79893d6d4a653b16c99bdb6d2784
[IA64] eliminate compile time warnings

This patch removes following compile time warnings:

drivers/pci/pci-sysfs.c: In function `pci_read_legacy_io':
drivers/pci/pci-sysfs.c:257: warning: implicit declaration of function `ia64_pci_legacy_read'
drivers/pci/pci-sysfs.c: In function `pci_write_legacy_io':
drivers/pci/pci-sysfs.c:280: warning: implicit declaration of function `ia64_pci_legacy_write'

It also fixes wrong definition of ia64_pci_legacy_write (type of `bus' is not
`pci_dev', but `pci_bus').

Signed-Off-By: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/pci/pci.c
include/asm-ia64/machvec.h