From e0fd8a0f35bb048dc1b51c97ed315cfbde6ef6a2 Mon Sep 17 00:00:00 2001 From: rjkm Date: Sat, 12 Feb 2022 15:09:36 +0100 Subject: [PATCH] snr define was deleted by mistake --- ddbridge/ddbridge-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ddbridge/ddbridge-core.c b/ddbridge/ddbridge-core.c index 7cb5856..2fa5a74 100644 --- a/ddbridge/ddbridge-core.c +++ b/ddbridge/ddbridge-core.c @@ -3627,6 +3627,7 @@ static ssize_t snr_show(struct device *device, struct device_attribute *attr, char *buf) { struct ddb *dev = dev_get_drvdata(device); + char snr[32]; int num = attr->attr.name[3] - 0x30; struct ddb_port *port = &dev->port[num]; struct i2c_adapter *i2c = &port->i2c->adap;