Skip to content

Commit

Permalink
[POWERPC] 83xx: Suppress warning when CONFIG_PCI is not defined
Browse files Browse the repository at this point in the history
Suppress warning when CONFIG_PCI is not defined.

Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Li Yang authored and Kumar Gala committed May 10, 2007
1 parent f1a1eb2 commit b38d06d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/powerpc/platforms/83xx/mpc8313_rdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ unsigned long isa_mem_base = 0;
*/
static void __init mpc8313_rdb_setup_arch(void)
{
#ifdef CONFIG_PCI
struct device_node *np;
#endif

if (ppc_md.progress)
ppc_md.progress("mpc8313_rdb_setup_arch()", 0);
Expand Down
2 changes: 2 additions & 0 deletions arch/powerpc/platforms/83xx/mpc834x_itx.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ unsigned long isa_mem_base = 0;
*/
static void __init mpc834x_itx_setup_arch(void)
{
#ifdef CONFIG_PCI
struct device_node *np;
#endif

if (ppc_md.progress)
ppc_md.progress("mpc834x_itx_setup_arch()", 0);
Expand Down
2 changes: 2 additions & 0 deletions arch/powerpc/platforms/83xx/mpc834x_mds.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ static int mpc834x_usb_cfg(void)
*/
static void __init mpc834x_mds_setup_arch(void)
{
#ifdef CONFIG_PCI
struct device_node *np;
#endif

if (ppc_md.progress)
ppc_md.progress("mpc834x_mds_setup_arch()", 0);
Expand Down

0 comments on commit b38d06d

Please sign in to comment.