]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/clk/hisilicon/reset.h
Merge tag 'for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford...
[karo-tx-linux.git] / drivers / clk / hisilicon / reset.h
index 677d773ed27c09dc9a72b820bce47b5c743de7dc..9a69374a0b3287acee17457678366228caa24e98 100644 (file)
@@ -22,10 +22,11 @@ struct device_node;
 struct hisi_reset_controller;
 
 #ifdef CONFIG_RESET_CONTROLLER
-struct hisi_reset_controller *hisi_reset_init(struct device_node *np);
+struct hisi_reset_controller *hisi_reset_init(struct platform_device *pdev);
 void hisi_reset_exit(struct hisi_reset_controller *rstc);
 #else
-static inline hisi_reset_controller *hisi_reset_init(struct device_node *np)
+static inline
+struct hisi_reset_controller *hisi_reset_init(struct platform_device *pdev)
 {
        return 0;
 }