hpet: Make cmd parameter of hpet_ioctl_common() unsigned
[sfrench/cifs-2.6.git] / drivers / char / hpet.c
index 8bdc38d81adf916c111ae6e893ff18ab44c8b311..b941e6d59fd66c6b12e346a8567e5ecd955bad0d 100644 (file)
@@ -575,7 +575,7 @@ static inline unsigned long hpet_time_div(struct hpets *hpets,
 }
 
 static int
-hpet_ioctl_common(struct hpet_dev *devp, int cmd, unsigned long arg,
+hpet_ioctl_common(struct hpet_dev *devp, unsigned int cmd, unsigned long arg,
                  struct hpet_info *info)
 {
        struct hpet_timer __iomem *timer;