From: Arvind Yadav <arvind.yadav.cs@gmail.com>
To: airlied@linux.ie, amd-gfx@lists.freedesktop.org,
alexander.deucher@amd.com, dri-devel@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 0/5] constify drm pci_device_id
Date: Sat, 15 Jul 2017 12:42:17 +0530 [thread overview]
Message-ID: <1500102738-23274-1-git-send-email-arvind.yadav.cs@gmail.com> (raw)
pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by <linux/pci.h> work with
const pci_device_id. So mark the non-const structs as const.
Arvind Yadav (5):
[PATCH 1/5] drm: radeon: constify pci_device_id.
[PATCH 2/5] drm: vmwgfx: constify pci_device_id.
[PATCH 3/5] drm: nouveau: constify pci_device_id.
[PATCH 4/5] drm: via: constify pci_device_id.
[PATCH 5/5] drm: hisilicon: constify pci_device_id.
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 2 +-
drivers/gpu/drm/nouveau/nouveau_drm.c | 2 +-
drivers/gpu/drm/radeon/radeon_drv.c | 2 +-
drivers/gpu/drm/via/via_drv.c | 2 +-
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
--
2.7.4
next reply other threads:[~2017-07-15 7:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-15 7:12 Arvind Yadav [this message]
2017-07-15 7:12 ` [PATCH 1/5] drm: radeon: constify pci_device_id Arvind Yadav
2017-07-15 13:47 ` Christian König
2017-07-16 6:10 ` arvind
-- strict thread matches above, loose matches on Subject: below --
2017-07-15 7:25 [PATCH 5/5] drm: hisilicon: " Arvind Yadav
2017-07-15 7:25 ` [PATCH 0/5] constify drm pci_device_id Arvind Yadav
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1500102738-23274-1-git-send-email-arvind.yadav.cs@gmail.com \
--to=arvind.yadav.cs@gmail.com \
--cc=airlied@linux.ie \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox