fix small compile warning in hpt366
PATCH 1/1 fix small compile warning in hpt366
Small patch below to;
a) Fix a compile warning :
drivers/ide/pci/hpt366.c:1293: warning: `Return' with a value, in function returning void
b) Add explicit printk loglevels to two printk's.
Signed-off-by Jesper Juhl <[email protected]>
---
drivers/ide/pci/hpt366.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/ide/pci/hpt366.c +3 -3
@@ -1284,13 +1284,13 @@ static void __devinit hpt37x_clocking(id info->speed = fifty_base_hpt370a; else info->speed = fifty_base_hpt370a; -printk ("HPT37X: using 50MHz internal PLL\n" ); +printk (KERN_DEBUG "HPT37X: using 50MHz internal PLL\n" ); goto init_hpt37X_done; } }if (!pci_get_drvdata (dev)) { -printk ("No Clock Stabilization!!!\n" ); -return -1 ; +printk (KERN_WARNING "No Clock Stabilization!!!\n" ); +return ; } pll_recal:if (adjust &1 )