Merge tag 'pnp-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Merge commit. Changes below are compared with the first parent: 6d905081.
Changes
3 files changed · +4 −2
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| MAINTAINERS | modified | +2 | −0 | View file |
| drivers/rtc/rtc-cmos.c | modified | +1 | −1 | View file |
| include/linux/pnp.h | modified | +1 | −1 | View file |
MAINTAINERS
View filediff --git a/MAINTAINERS b/MAINTAINERS
index 211109e..88bf750 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -13381,7 +13381,9 @@ F: Documentation/devicetree/bindings/iio/magnetometer/pni,rm3100.txt
PNP SUPPORT
M: "Rafael J. Wysocki" <[email protected]>
S: Maintained
+F: include/linux/pnp.h
F: drivers/pnp/
POSIX CLOCKS and TIMERS
drivers/rtc/rtc-cmos.c
View filediff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c
index b795fe4..82bfe00 100644
--- a/drivers/rtc/rtc-cmos.c
+++ b/drivers/rtc/rtc-cmos.c
@@ -1345,7 +1345,7 @@ static const struct pnp_device_id rtc_ids[] = {
MODULE_DEVICE_TABLE(pnp, rtc_ids);
static struct pnp_driver cmos_pnp_driver = {
- .name = (char *) driver_name,
+ .name = driver_name,
.id_table = rtc_ids,
.probe = cmos_pnp_probe,
.remove = cmos_pnp_remove,
include/linux/pnp.h
View filediff --git a/include/linux/pnp.h b/include/linux/pnp.h
index 3b12fd2..b18dca6 100644
--- a/include/linux/pnp.h
+++ b/include/linux/pnp.h
@@ -379,7 +379,7 @@ struct pnp_id {
};
struct pnp_driver {
- char *name;
+ const char *name;
const struct pnp_device_id *id_table;
unsigned int flags;
int (*probe) (struct pnp_dev *dev, const struct pnp_device_id *dev_id);