| @@ -8,7 +8,7 @@ · 7 unmodified lines |
| 8 | 8 | */ |
| 9 | 9 | |
| 10 | 10 | #include <linux/clk-provider.h> |
| 11 | | −#include <linux/platform_data/clk-st.h> |
| 11 | +#include <linux/platform_data/clk-fch.h> |
| 12 | 12 | #include <linux/platform_device.h> |
| 13 | 13 | #include <linux/pm_domain.h> |
| 14 | 14 | #include <linux/clkdev.h> |
| @@ -79,11 +79,11 @@ static int misc_check_res(struct acpi_resource *ares, void *data) · 64 unmodified lines |
| 79 | 79 | return !acpi_dev_resource_memory(ares, &res); |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | | −static int st_misc_setup(struct apd_private_data *pdata) |
| 82 | +static int fch_misc_setup(struct apd_private_data *pdata) |
| 83 | 83 | { |
| 84 | 84 | struct acpi_device *adev = pdata->adev; |
| 85 | 85 | struct platform_device *clkdev; |
| 86 | | − struct st_clk_data *clk_data; |
| 86 | + struct fch_clk_data *clk_data; |
| 87 | 87 | struct resource_entry *rentry; |
| 88 | 88 | struct list_head resource_list; |
| 89 | 89 | int ret; |
| @@ -106,7 +106,7 @@ static int st_misc_setup(struct apd_private_data *pdata) · 16 unmodified lines |
| 106 | 106 | |
| 107 | 107 | acpi_dev_free_resource_list(&resource_list); |
| 108 | 108 | |
| 109 | | − clkdev = platform_device_register_data(&adev->dev, "clk-st", |
| 109 | + clkdev = platform_device_register_data(&adev->dev, "clk-fch", |
| 110 | 110 | PLATFORM_DEVID_NONE, clk_data, |
| 111 | 111 | sizeof(*clk_data)); |
| 112 | 112 | return PTR_ERR_OR_ZERO(clkdev); |
| @@ -135,8 +135,8 @@ static const struct apd_device_desc cz_uart_desc = { · 22 unmodified lines |
| 135 | 135 | .properties = uart_properties, |
| 136 | 136 | }; |
| 137 | 137 | |
| 138 | | −static const struct apd_device_desc st_misc_desc = { |
| 139 | | − .setup = st_misc_setup, |
| 138 | +static const struct apd_device_desc fch_misc_desc = { |
| 139 | + .setup = fch_misc_setup, |
| 140 | 140 | }; |
| 141 | 141 | #endif |
| 142 | 142 | |
| @@ -239,7 +239,7 @@ static const struct acpi_device_id acpi_apd_device_ids[] = { · 96 unmodified lines |
| 239 | 239 | { "AMD0020", APD_ADDR(cz_uart_desc) }, |
| 240 | 240 | { "AMDI0020", APD_ADDR(cz_uart_desc) }, |
| 241 | 241 | { "AMD0030", }, |
| 242 | | − { "AMD0040", APD_ADDR(st_misc_desc)}, |
| 242 | + { "AMD0040", APD_ADDR(fch_misc_desc)}, |
| 243 | 243 | { "HYGO0010", APD_ADDR(wt_i2c_desc) }, |
| 244 | 244 | #endif |
| 245 | 245 | #ifdef CONFIG_ARM64 |