Skip to content

Commit

Permalink
net: ipa: rename "ipa_clock.c"
Browse files Browse the repository at this point in the history
Finally, rename "ipa_clock.c" to be "ipa_power.c" and "ipa_clock.h"
to be "ipa_power.h".

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Alex Elder authored and David S. Miller committed Aug 22, 2021
1 parent 7aa0e8b commit 2775cbc
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion drivers/net/ipa/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
obj-$(CONFIG_QCOM_IPA) += ipa.o

ipa-y := ipa_main.o ipa_clock.o ipa_reg.o ipa_mem.o \
ipa-y := ipa_main.o ipa_power.o ipa_reg.o ipa_mem.o \
ipa_table.o ipa_interrupt.o gsi.o gsi_trans.o \
ipa_gsi.o ipa_smp2p.o ipa_uc.o \
ipa_endpoint.o ipa_cmd.o ipa_modem.o \
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/ipa/ipa_endpoint.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "ipa_modem.h"
#include "ipa_table.h"
#include "ipa_gsi.h"
#include "ipa_clock.h"
#include "ipa_power.h"

#define atomic_dec_not_zero(v) atomic_add_unless((v), -1, 0)

Expand Down
2 changes: 1 addition & 1 deletion drivers/net/ipa/ipa_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <linux/soc/qcom/mdt_loader.h>

#include "ipa.h"
#include "ipa_clock.h"
#include "ipa_power.h"
#include "ipa_data.h"
#include "ipa_endpoint.h"
#include "ipa_resource.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/ipa/ipa_modem.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "ipa_smp2p.h"
#include "ipa_qmi.h"
#include "ipa_uc.h"
#include "ipa_clock.h"
#include "ipa_power.h"

#define IPA_NETDEV_NAME "rmnet_ipa%d"
#define IPA_NETDEV_TAILROOM 0 /* for padding by mux layer */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <linux/bitops.h>

#include "ipa.h"
#include "ipa_clock.h"
#include "ipa_power.h"
#include "ipa_endpoint.h"
#include "ipa_modem.h"
#include "ipa_data.h"
Expand Down
6 changes: 3 additions & 3 deletions drivers/net/ipa/ipa_clock.h → drivers/net/ipa/ipa_power.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
* Copyright (C) 2018-2020 Linaro Ltd.
*/
#ifndef _IPA_CLOCK_H_
#define _IPA_CLOCK_H_
#ifndef _IPA_POWER_H_
#define _IPA_POWER_H_

struct device;

Expand Down Expand Up @@ -70,4 +70,4 @@ struct ipa_power *ipa_power_init(struct device *dev,
*/
void ipa_power_exit(struct ipa_power *power);

#endif /* _IPA_CLOCK_H_ */
#endif /* _IPA_POWER_H_ */

0 comments on commit 2775cbc

Please sign in to comment.