Skip to content

Commit aedbfb4

Browse files
committed
Updates to get ev3-kernel to compile with 6.12.60
1 parent 8946a32 commit aedbfb4

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "drivers/lego"]
22
path = drivers/lego
3-
url = https://github.com/ev3dev/lego-linux-drivers
3+
url = https://github.com/project516/lego-linux-drivers

arch/arm/mach-davinci/legoev3-fiq.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,10 @@ static int legoev3_fiq_probe(struct platform_device *pdev)
864864
fiq_data->timer_irq = pdata->timer_irq;
865865
fiq_data->ehrpwm_irq = pdata->ehrpwm_irq;
866866

867-
ret = gpio_request_one(pdata->status_gpio, GPIOF_INIT_LOW, "fiq status");
867+
ret = gpio_request(pdata->status_gpio, "fiq status");
868+
if (!ret) {
869+
ret = gpio_direction_output(pdata->status_gpio, 0);
870+
}
868871
if (ret < 0) {
869872
if (ret != -EPROBE_DEFER) {
870873
dev_err(&pdev->dev,

scripts/Makefile.package

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ bindeb-pkg: private build-type := binary
123123
deb-pkg srcdeb-pkg: debian-orig
124124
bindeb-pkg: debian
125125
deb-pkg srcdeb-pkg bindeb-pkg:
126-
+$(strip dpkg-buildpackage \
126+
+$(strip dpkg-buildpackage -d \
127127
--build=$(build-type) --no-pre-clean --unsigned-changes \
128128
$(if $(findstring source, $(build-type)), \
129129
--unsigned-source --compression=$(KDEB_SOURCE_COMPRESS)) \

0 commit comments

Comments
 (0)