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)
commite957f608f321a97a60d065bccd01949590eef52e
tree47edb6e19546bc9ae8a534a39b1de07f3eed75e6
parentebc30a0f67a4d6a9470556f4311478b3b04c2b1f
parisc: Fix gcc 4.4 warning in lba_pci.c

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