From 1b44e5c3b2886224042d9c20649311c231db3ccd Mon Sep 17 00:00:00 2001
From: Vince McIntyre <vincent.mcintyre@gmail.com>
Date: Thu, 13 Jan 2011 15:30:13 +1100
Subject: [PATCH] To compile against 2.6.32, drop extra arg when calling i2c_new_probed_device()
Signed-off-by: Vince McIntyre <vincent.mcintyre@gmail.com>
---
drivers/media/video/hdpvr/hdpvr-i2c.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
@@ -59,7 +59,7 @@ static int hdpvr_new_i2c_ir(struct hdpvr_device *dev, struct i2c_adapter *adap,
break;
}
- return i2c_new_probed_device(adap, &info, addr_list, NULL) == NULL ?
+ return i2c_new_probed_device(adap, &info, addr_list) == NULL ?
-1 : 0;
}
--
1.7.0.4