mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
snr define was deleted by mistake
This commit is contained in:
parent
1b49bfb8f1
commit
e0fd8a0f35
@ -3627,6 +3627,7 @@ static ssize_t snr_show(struct device *device,
|
|||||||
struct device_attribute *attr, char *buf)
|
struct device_attribute *attr, char *buf)
|
||||||
{
|
{
|
||||||
struct ddb *dev = dev_get_drvdata(device);
|
struct ddb *dev = dev_get_drvdata(device);
|
||||||
|
char snr[32];
|
||||||
int num = attr->attr.name[3] - 0x30;
|
int num = attr->attr.name[3] - 0x30;
|
||||||
struct ddb_port *port = &dev->port[num];
|
struct ddb_port *port = &dev->port[num];
|
||||||
struct i2c_adapter *i2c = &port->i2c->adap;
|
struct i2c_adapter *i2c = &port->i2c->adap;
|
||||||
|
Loading…
Reference in New Issue
Block a user