sh: Add a dummy SH-4 PCIC fixup.

By default we don't have anything to fix up for the SH-4 PCIC, boards can
overload this as necessary.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Paul Mundt 2007-03-29 00:04:39 +09:00 committed by Paul Mundt
parent 0264f16039
commit cd6c7ea234
2 changed files with 12 additions and 9 deletions

View file

@ -162,3 +162,9 @@ char * __init pcibios_setup(char *str)
return str;
}
int __attribute__((weak)) pci_fixup_pcic(void)
{
/* Nothing to do. */
return 0;
}

View file

@ -12,7 +12,6 @@
* License. See linux/COPYING for more information.
*
*/
#undef DEBUG
#include <linux/init.h>
@ -194,9 +193,7 @@ int __init sh7751_pcic_init(struct sh4_pci_address_map *map)
* DMA interrupts...
*/
#if defined(CONFIG_SH_RTS7751R2D) || defined(CONFIG_SH_LBOX_RE2)
pci_fixup_pcic();
#endif
/* SH7751 init done, set central function init complete */
/* use round robin mode to stop a device starving/overruning */