Skip to content

Commit 2e00fd5

Browse files
PCI: epf-mhi: Add "pci_epf_mhi_" prefix to the function names
Without the prefix, the function name would appear as "/sys/kernel/config/functions/{sdx55/sm8450}". This will be a problem if multiple functions are supported for this endpoint device. So let's add the "pci_epf_mhi_" prefix to identify _this_ function uniquely. Even though it is an ABI breakage, this driver is not used anywhere outside Qcom and myself to my knowledge. So it safe to change the function name. Signed-off-by: Manivannan Sadhasivam <[email protected]> Signed-off-by: Mrinmay Sarkar <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 976dc5f commit 2e00fd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/pci/endpoint/functions/pci-epf-mhi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -913,8 +913,8 @@ static int pci_epf_mhi_probe(struct pci_epf *epf,
913913
}
914914

915915
static const struct pci_epf_device_id pci_epf_mhi_ids[] = {
916-
{ .name = "sdx55", .driver_data = (kernel_ulong_t)&sdx55_info },
917-
{ .name = "sm8450", .driver_data = (kernel_ulong_t)&sm8450_info },
916+
{ .name = "pci_epf_mhi_sdx55", .driver_data = (kernel_ulong_t)&sdx55_info },
917+
{ .name = "pci_epf_mhi_sm8450", .driver_data = (kernel_ulong_t)&sm8450_info },
918918
{},
919919
};
920920

0 commit comments

Comments
 (0)