diff options
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/Kconfig | 4 | ||||
-rw-r--r-- | drivers/misc/atmel-ssc.c | 10 | ||||
-rw-r--r-- | drivers/misc/sgi-gru/grufile.c | 2 | ||||
-rw-r--r-- | drivers/misc/ti-st/Kconfig | 2 |
4 files changed, 8 insertions, 10 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 3ec3f9ece9d9..e83fdfe0c8ca 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig | |||
@@ -127,7 +127,7 @@ config PHANTOM | |||
127 | 127 | ||
128 | config INTEL_MID_PTI | 128 | config INTEL_MID_PTI |
129 | tristate "Parallel Trace Interface for MIPI P1149.7 cJTAG standard" | 129 | tristate "Parallel Trace Interface for MIPI P1149.7 cJTAG standard" |
130 | depends on PCI | 130 | depends on PCI && TTY |
131 | default n | 131 | default n |
132 | help | 132 | help |
133 | The PTI (Parallel Trace Interface) driver directs | 133 | The PTI (Parallel Trace Interface) driver directs |
@@ -192,7 +192,7 @@ config ICS932S401 | |||
192 | 192 | ||
193 | config ATMEL_SSC | 193 | config ATMEL_SSC |
194 | tristate "Device driver for Atmel SSC peripheral" | 194 | tristate "Device driver for Atmel SSC peripheral" |
195 | depends on AVR32 || ARCH_AT91 | 195 | depends on HAS_IOMEM |
196 | ---help--- | 196 | ---help--- |
197 | This option enables device driver support for Atmel Synchronized | 197 | This option enables device driver support for Atmel Synchronized |
198 | Serial Communication peripheral (SSC). | 198 | Serial Communication peripheral (SSC). |
diff --git a/drivers/misc/atmel-ssc.c b/drivers/misc/atmel-ssc.c index 3c09cbb70b1d..c09c28f92055 100644 --- a/drivers/misc/atmel-ssc.c +++ b/drivers/misc/atmel-ssc.c | |||
@@ -159,11 +159,9 @@ static int ssc_probe(struct platform_device *pdev) | |||
159 | return -ENXIO; | 159 | return -ENXIO; |
160 | } | 160 | } |
161 | 161 | ||
162 | ssc->regs = devm_request_and_ioremap(&pdev->dev, regs); | 162 | ssc->regs = devm_ioremap_resource(&pdev->dev, regs); |
163 | if (!ssc->regs) { | 163 | if (IS_ERR(ssc->regs)) |
164 | dev_dbg(&pdev->dev, "ioremap failed\n"); | 164 | return PTR_ERR(ssc->regs); |
165 | return -EINVAL; | ||
166 | } | ||
167 | 165 | ||
168 | ssc->phybase = regs->start; | 166 | ssc->phybase = regs->start; |
169 | 167 | ||
@@ -175,7 +173,7 @@ static int ssc_probe(struct platform_device *pdev) | |||
175 | 173 | ||
176 | /* disable all interrupts */ | 174 | /* disable all interrupts */ |
177 | clk_enable(ssc->clk); | 175 | clk_enable(ssc->clk); |
178 | ssc_writel(ssc->regs, IDR, ~0UL); | 176 | ssc_writel(ssc->regs, IDR, -1); |
179 | ssc_readl(ssc->regs, SR); | 177 | ssc_readl(ssc->regs, SR); |
180 | clk_disable(ssc->clk); | 178 | clk_disable(ssc->clk); |
181 | 179 | ||
diff --git a/drivers/misc/sgi-gru/grufile.c b/drivers/misc/sgi-gru/grufile.c index 492c8cac69ac..44d273c5e19d 100644 --- a/drivers/misc/sgi-gru/grufile.c +++ b/drivers/misc/sgi-gru/grufile.c | |||
@@ -517,7 +517,7 @@ static int __init gru_init(void) | |||
517 | { | 517 | { |
518 | int ret; | 518 | int ret; |
519 | 519 | ||
520 | if (!is_uv_system()) | 520 | if (!is_uv_system() || (is_uvx_hub() && !is_uv2_hub())) |
521 | return 0; | 521 | return 0; |
522 | 522 | ||
523 | #if defined CONFIG_IA64 | 523 | #if defined CONFIG_IA64 |
diff --git a/drivers/misc/ti-st/Kconfig b/drivers/misc/ti-st/Kconfig index abb5de1afce3..f34dcc514730 100644 --- a/drivers/misc/ti-st/Kconfig +++ b/drivers/misc/ti-st/Kconfig | |||
@@ -5,7 +5,7 @@ | |||
5 | menu "Texas Instruments shared transport line discipline" | 5 | menu "Texas Instruments shared transport line discipline" |
6 | config TI_ST | 6 | config TI_ST |
7 | tristate "Shared transport core driver" | 7 | tristate "Shared transport core driver" |
8 | depends on NET && GPIOLIB | 8 | depends on NET && GPIOLIB && TTY |
9 | select FW_LOADER | 9 | select FW_LOADER |
10 | help | 10 | help |
11 | This enables the shared transport core driver for TI | 11 | This enables the shared transport core driver for TI |