summaryrefslogtreecommitdiffstats
path: root/kernel/kmod.c
diff options
context:
space:
mode:
authorDarren Stevens <darren@stevens-zone.net>2017-12-31 21:53:55 +0100
committerWolfram Sang <wsa@the-dreams.de>2018-08-20 11:01:13 +0200
commit5c18d12ced225fa0ad5a03fb42bbb293815d1342 (patch)
tree75f921efdbc3f6c525c5d8deeb2e0e9282b45727 /kernel/kmod.c
parenti2c: designware: Add SPDX license tag (diff)
downloadlinux-5c18d12ced225fa0ad5a03fb42bbb293815d1342.tar.xz
linux-5c18d12ced225fa0ad5a03fb42bbb293815d1342.zip
i2c: pasemi: remove hardcoded bus numbers on smbus
The pasemi smbus controller uses PCI_FUNC(dev->devfn) to define which number bus to attach to, however this fails when something else is probed first, for example an ATI Radeon graphics card will claim 9 or 10 busses, including the ones the pasemi wants. Patch the driver to call i2c_add_adapter rather than i2c_add_numbered_adapter. Signed-off-by: Darren Stevens <darren@stevens-zone.net> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'kernel/kmod.c')
0 files changed, 0 insertions, 0 deletions