Commit 3027f36c authored by Andrey Filippov's avatar Andrey Filippov

just a typo

parent 205358bd
......@@ -301,7 +301,7 @@ static int make_group (struct device *dev, const char * name, int port_mask, mod
{
int retval=-1;
int port,index=0,num_regs;
struct attribute **pattrs; /* array of pointers to attibutes */
struct attribute **pattrs; /* array of pointers to attributes */
struct device_attribute *dev_attrs;
struct attribute_group *attr_group;
for (port=0,num_regs=1;port<MAX_PORTS;port++) if (port_mask & (1<<port)) num_regs++; /* 1 extra - used for all ports */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment