| Submitter | Ben Hutchings |
|---|---|
| Date | Dec. 12, 2008, 12:57 p.m. |
| Message ID | <20081212125717.GZ10372@solarflare.com> |
| Download | mbox | patch |
| Permalink | /patch/13728/ |
| State | Accepted |
| Delegated to: | David Miller |
| Headers | show |
Comments
From: Ben Hutchings <bhutchings@solarflare.com> Date: Fri, 12 Dec 2008 12:57:18 +0000 > > Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Patch
diff --git a/drivers/net/sfc/falcon.c b/drivers/net/sfc/falcon.c index 2c53ef4..8107460 100644 --- a/drivers/net/sfc/falcon.c +++ b/drivers/net/sfc/falcon.c @@ -2940,10 +2940,10 @@ int falcon_probe_nic(struct efx_nic *efx) goto fail5; /* Initialise I2C adapter */ - efx->i2c_adap.owner = THIS_MODULE; + efx->i2c_adap.owner = THIS_MODULE; nic_data->i2c_data = falcon_i2c_bit_operations; nic_data->i2c_data.data = efx; - efx->i2c_adap.algo_data = &nic_data->i2c_data; + efx->i2c_adap.algo_data = &nic_data->i2c_data; efx->i2c_adap.dev.parent = &efx->pci_dev->dev; strlcpy(efx->i2c_adap.name, "SFC4000 GPIO", sizeof(efx->i2c_adap.name)); rc = i2c_bit_add_bus(&efx->i2c_adap);
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> --- drivers/net/sfc/falcon.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)