diff options
author | Jonathan Lemon <jonathan.lemon@gmail.com> | 2022-05-19 14:21:45 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-05-24 11:39:53 -0700 |
commit | 3a35e53a11bcde88ea89cbf839771e6af4681daf (patch) | |
tree | 9686a328709c60bd39fff57ba61a6afb10974411 /drivers/ptp/ptp_ocp.c | |
parent | 8119c9ee7854033c8aba11059bec4ddd146fd63e (diff) | |
download | linux-3a35e53a11bcde88ea89cbf839771e6af4681daf.tar.gz linux-3a35e53a11bcde88ea89cbf839771e6af4681daf.tar.bz2 linux-3a35e53a11bcde88ea89cbf839771e6af4681daf.zip |
ptp: ocp: Remove #ifdefs around PCI IDs
These #ifdefs are not required, so remove them.
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/ptp/ptp_ocp.c')
-rw-r--r-- | drivers/ptp/ptp_ocp.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/ptp/ptp_ocp.c b/drivers/ptp/ptp_ocp.c index 957c0522a02f..d2cdb2a05c36 100644 --- a/drivers/ptp/ptp_ocp.c +++ b/drivers/ptp/ptp_ocp.c @@ -20,13 +20,8 @@ #include <linux/mtd/mtd.h> #include <linux/nvmem-consumer.h> -#ifndef PCI_VENDOR_ID_FACEBOOK -#define PCI_VENDOR_ID_FACEBOOK 0x1d9b -#endif - -#ifndef PCI_DEVICE_ID_FACEBOOK_TIMECARD -#define PCI_DEVICE_ID_FACEBOOK_TIMECARD 0x0400 -#endif +#define PCI_VENDOR_ID_FACEBOOK 0x1d9b +#define PCI_DEVICE_ID_FACEBOOK_TIMECARD 0x0400 static struct class timecard_class = { .owner = THIS_MODULE, |