[kernel] Patch for invoking (pre)init
[openwrt.git] / target / linux / generic / patches-3.8 / 841-rtc_pt7c4338.patch
index 3beeb1383f315b6a10eeba3cbabca416f606c1df..7d763146fc10c2b7fea0e112f7f25bd574798c78 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/rtc/Kconfig
 +++ b/drivers/rtc/Kconfig
-@@ -428,6 +428,15 @@ config RTC_DRV_RV3029C2
+@@ -436,6 +436,15 @@ config RTC_DRV_RV3029C2
          This driver can also be built as a module. If so, the module
          will be called rtc-rv3029c2.
  
 +      return ret;
 +}
 +
-+static int __devexit pt7c4338_remove(struct i2c_client *client)
++static int pt7c4338_remove(struct i2c_client *client)
 +{
 +      struct pt7c4338 *pt7c4338 = i2c_get_clientdata(client);
 +
 +              .owner = THIS_MODULE,
 +      },
 +      .probe = pt7c4338_probe,
-+      .remove = __devexit_p(pt7c4338_remove),
++      .remove = pt7c4338_remove,
 +      .id_table = pt7c4338_id,
 +};
 +