aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-02-21 15:05:51 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2013-02-21 15:05:51 -0500
commit06991c28f37ad68e5c03777f5c3b679b56e3dac1 (patch)
tree4be75788e21c3c644fe6d39abf47693a171cf4f8 /drivers/isdn
parent460dc1eecf37263c8e3b17685ef236f0d236facb (diff)
parent74fef7a8fd1d2bd94f925d6638bb4c3049e7c381 (diff)
Merge tag 'driver-core-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Pull driver core patches from Greg Kroah-Hartman: "Here is the big driver core merge for 3.9-rc1 There are two major series here, both of which touch lots of drivers all over the kernel, and will cause you some merge conflicts: - add a new function called devm_ioremap_resource() to properly be able to check return values. - remove CONFIG_EXPERIMENTAL Other than those patches, there's not much here, some minor fixes and updates" Fix up trivial conflicts * tag 'driver-core-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (221 commits) base: memory: fix soft/hard_offline_page permissions drivercore: Fix ordering between deferred_probe and exiting initcalls backlight: fix class_find_device() arguments TTY: mark tty_get_device call with the proper const values driver-core: constify data for class_find_device() firmware: Ignore abort check when no user-helper is used firmware: Reduce ifdef CONFIG_FW_LOADER_USER_HELPER firmware: Make user-mode helper optional firmware: Refactoring for splitting user-mode helper code Driver core: treat unregistered bus_types as having no devices watchdog: Convert to devm_ioremap_resource() thermal: Convert to devm_ioremap_resource() spi: Convert to devm_ioremap_resource() power: Convert to devm_ioremap_resource() mtd: Convert to devm_ioremap_resource() mmc: Convert to devm_ioremap_resource() mfd: Convert to devm_ioremap_resource() media: Convert to devm_ioremap_resource() iommu: Convert to devm_ioremap_resource() drm: Convert to devm_ioremap_resource() ...
Diffstat (limited to 'drivers/isdn')
-rw-r--r--drivers/isdn/hisax/Kconfig15
-rw-r--r--drivers/isdn/mISDN/core.c4
2 files changed, 9 insertions, 10 deletions
diff --git a/drivers/isdn/hisax/Kconfig b/drivers/isdn/hisax/Kconfig
index 70ecd0c19500..5313c9ea44dc 100644
--- a/drivers/isdn/hisax/Kconfig
+++ b/drivers/isdn/hisax/Kconfig
@@ -389,8 +389,8 @@ config HISAX_TELES_CS
389comment "HiSax sub driver modules" 389comment "HiSax sub driver modules"
390 390
391config HISAX_ST5481 391config HISAX_ST5481
392 tristate "ST5481 USB ISDN modem (EXPERIMENTAL)" 392 tristate "ST5481 USB ISDN modem"
393 depends on USB && EXPERIMENTAL 393 depends on USB
394 select ISDN_HDLC 394 select ISDN_HDLC
395 select CRC_CCITT 395 select CRC_CCITT
396 select BITREVERSE 396 select BITREVERSE
@@ -399,20 +399,19 @@ config HISAX_ST5481
399 e.g. the BeWan Gazel 128 USB 399 e.g. the BeWan Gazel 128 USB
400 400
401config HISAX_HFCUSB 401config HISAX_HFCUSB
402 tristate "HFC USB based ISDN modems (EXPERIMENTAL)" 402 tristate "HFC USB based ISDN modems"
403 depends on USB && EXPERIMENTAL 403 depends on USB
404 help 404 help
405 This enables the driver for HFC USB based ISDN modems. 405 This enables the driver for HFC USB based ISDN modems.
406 406
407config HISAX_HFC4S8S 407config HISAX_HFC4S8S
408 tristate "HFC-4S/8S based ISDN cards (EXPERIMENTAL)" 408 tristate "HFC-4S/8S based ISDN cards"
409 depends on EXPERIMENTAL
410 help 409 help
411 This enables the driver for HFC-4S/8S based ISDN cards. 410 This enables the driver for HFC-4S/8S based ISDN cards.
412 411
413config HISAX_FRITZ_PCIPNP 412config HISAX_FRITZ_PCIPNP
414 tristate "AVM Fritz!Card PCI/PCIv2/PnP support (EXPERIMENTAL)" 413 tristate "AVM Fritz!Card PCI/PCIv2/PnP support"
415 depends on PCI && EXPERIMENTAL 414 depends on PCI
416 help 415 help
417 This enables the driver for the AVM Fritz!Card PCI, 416 This enables the driver for the AVM Fritz!Card PCI,
418 Fritz!Card PCI v2 and Fritz!Card PnP. 417 Fritz!Card PCI v2 and Fritz!Card PnP.
diff --git a/drivers/isdn/mISDN/core.c b/drivers/isdn/mISDN/core.c
index 3e245712bba7..da30c5cb9609 100644
--- a/drivers/isdn/mISDN/core.c
+++ b/drivers/isdn/mISDN/core.c
@@ -168,13 +168,13 @@ static struct class mISDN_class = {
168}; 168};
169 169
170static int 170static int
171_get_mdevice(struct device *dev, void *id) 171_get_mdevice(struct device *dev, const void *id)
172{ 172{
173 struct mISDNdevice *mdev = dev_to_mISDN(dev); 173 struct mISDNdevice *mdev = dev_to_mISDN(dev);
174 174
175 if (!mdev) 175 if (!mdev)
176 return 0; 176 return 0;
177 if (mdev->id != *(u_int *)id) 177 if (mdev->id != *(const u_int *)id)
178 return 0; 178 return 0;
179 return 1; 179 return 1;
180} 180}