summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/nfc/fdp/fdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/nfc/fdp/fdp.c')
-rw-r--r--kernel/drivers/nfc/fdp/fdp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/drivers/nfc/fdp/fdp.c b/kernel/drivers/nfc/fdp/fdp.c
index ccb07a1b1..23e537807 100644
--- a/kernel/drivers/nfc/fdp/fdp.c
+++ b/kernel/drivers/nfc/fdp/fdp.c
@@ -352,7 +352,7 @@ static int fdp_nci_patch_otp(struct nci_dev *ndev)
{
struct fdp_nci_info *info = nci_get_drvdata(ndev);
struct device *dev = &info->phy->i2c_dev->dev;
- u8 conn_id;
+ int conn_id;
int r = 0;
if (info->otp_version >= info->otp_patch_version)
@@ -423,7 +423,7 @@ static int fdp_nci_patch_ram(struct nci_dev *ndev)
{
struct fdp_nci_info *info = nci_get_drvdata(ndev);
struct device *dev = &info->phy->i2c_dev->dev;
- u8 conn_id;
+ int conn_id;
int r = 0;
if (info->ram_version >= info->ram_patch_version)