pata_pdc2027x: Fix compiler warning
authorWang YanQing <udknight@gmail.com>
Tue, 9 Apr 2013 07:05:40 +0000 (15:05 +0800)
committerJiri Kosina <jkosina@suse.cz>
Fri, 12 Apr 2013 13:24:12 +0000 (15:24 +0200)
commit59affa501e326992adc7470bde721e2d8b13afa7
treebcae1e41da94ec0c0ab2a7d0530972ff86877b89
parenta895d57da04a4a24cda996e1a72425ff7e7e6c22
pata_pdc2027x: Fix compiler warning

Fix the follwing warnings:
linux/drivers/ata/pata_pdc2027x.c:66: warning: 'pdc2027x_reinit_one' declared 'static' but never defined

pdc2027x_reinit_one are defined only when CONFIG_PM is defined,
thus making it conditional.

Signed-off-by: Wang YanQing <udknight@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/ata/pata_pdc2027x.c