mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 10:33:27 +00:00
PCI Hotplug: cpqphp: constify slot_name()
Eliminate this warning: warning: return discards qualifiers from pointer target type Signed-off-by: Alex Chiang <achiang@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
parent
e3265ea364
commit
6d1e87daee
1 changed files with 1 additions and 1 deletions
|
@ -464,7 +464,7 @@ extern u8 cpqhp_disk_irq;
|
|||
|
||||
/* inline functions */
|
||||
|
||||
static inline char *slot_name(struct slot *slot)
|
||||
static inline const char *slot_name(struct slot *slot)
|
||||
{
|
||||
return hotplug_slot_name(slot->hotplug_slot);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue