parisc: Fix gcc 4.4 warning in lba_pci.c
authorGrant Grundler <grundler@parisc-linux.org>
Tue, 23 Jun 2009 15:03:11 +0000 (11:03 -0400)
committerKyle McMartin <kyle@mcmartin.ca>
Fri, 3 Jul 2009 03:34:08 +0000 (03:34 +0000)
gcc 4.4 warns about:
drivers/parisc/lba_pci.c: In function 'lba_pat_resources':
drivers/parisc/lba_pci.c:1099: warning: the frame size of 8280 bytes is larger than 4096 bytes

The problem is we declare two large structures on the stack. They don't need
to be on the stack since they are only used during LBA initialization (which
is serialized). Moving to be "static".

Signed-off-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
drivers/parisc/lba_pci.c

Simple merge