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:
@@ -162,3 +162,9 @@ char * __init pcibios_setup(char *str)
|
||||
|
||||
return str;
|
||||
}
|
||||
|
||||
int __attribute__((weak)) pci_fixup_pcic(void)
|
||||
{
|
||||
/* Nothing to do. */
|
||||
return 0;
|
||||
}
|
||||
|
@@ -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 */
|
||||
|
Reference in New Issue
Block a user